summary refs log tree commit diff stats
path: root/net/filter-replay.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/filter-replay.c')
-rw-r--r--net/filter-replay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/filter-replay.c b/net/filter-replay.c
index a0b99aaf86..78696c162e 100644
--- a/net/filter-replay.c
+++ b/net/filter-replay.c
@@ -24,8 +24,8 @@
 #define TYPE_FILTER_REPLAY "filter-replay"
 
 typedef struct NetFilterReplayState NetFilterReplayState;
-#define FILTER_REPLAY(obj) \
-    OBJECT_CHECK(NetFilterReplayState, (obj), TYPE_FILTER_REPLAY)
+DECLARE_INSTANCE_CHECKER(NetFilterReplayState, FILTER_REPLAY,
+                         TYPE_FILTER_REPLAY)
 
 struct NetFilterReplayState {
     NetFilterState nfs;