summaryrefslogtreecommitdiffstats
path: root/src/expect/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expect/callback.c')
-rw-r--r--src/expect/callback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expect/callback.c b/src/expect/callback.c
index 6a45b0e..d2cc26e 100644
--- a/src/expect/callback.c
+++ b/src/expect/callback.c
@@ -31,6 +31,8 @@ int __expect_callback(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data)
if (container->h->expect_cb)
ret = container->h->expect_cb(type, exp, container->data);
+ else if (container->h->expect_cb2)
+ ret = container->h->expect_cb2(nlh, type, exp, container->data);
switch(ret) {
case NFCT_CB_FAILURE: