diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-11-09 00:02:37 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-11-09 00:39:19 +0100 |
commit | 58145ed8a0c6fc94ed42a1542a466e8d8ebc2afd (patch) | |
tree | a9c4318d11ab887fa23afc91eee9b2070a0f7669 /utils/expect_events.c | |
parent | b245e4092c5a7f09729e64868a42e13f48ac5db8 (diff) |
utils: expect_events now listens to all sort of expectation events
With this patch, the expect_events example also listens to other
sort of expectation events that were added in Linux kernel 2.6.37-rc.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'utils/expect_events.c')
-rw-r--r-- | utils/expect_events.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/expect_events.c b/utils/expect_events.c index a8b84cc..89426f4 100644 --- a/utils/expect_events.c +++ b/utils/expect_events.c @@ -25,7 +25,9 @@ int main() int ret; struct nfct_handle *h; - h = nfct_open(EXPECT, NF_NETLINK_CONNTRACK_EXP_NEW); + h = nfct_open(EXPECT, NF_NETLINK_CONNTRACK_EXP_NEW | + NF_NETLINK_CONNTRACK_EXP_UPDATE | + NF_NETLINK_CONNTRACK_EXP_DESTROY); if (!h) { perror("nfct_open"); return -1; |