summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/netfilter/nfct-event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/netfilter/nfct-event.c b/examples/netfilter/nfct-event.c
index 660d443..f86f9ad 100644
--- a/examples/netfilter/nfct-event.c
+++ b/examples/netfilter/nfct-event.c
@@ -217,9 +217,9 @@ int main(void)
exit(EXIT_FAILURE);
}
- if (mnl_socket_bind(nl, NFNLGRP_CONNTRACK_NEW |
- NFNLGRP_CONNTRACK_UPDATE |
- NFNLGRP_CONNTRACK_DESTROY,
+ if (mnl_socket_bind(nl, NF_NETLINK_CONNTRACK_NEW |
+ NF_NETLINK_CONNTRACK_UPDATE |
+ NF_NETLINK_CONNTRACK_DESTROY,
MNL_SOCKET_AUTOPID) < 0) {
perror("mnl_socket_bind");
exit(EXIT_FAILURE);