summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/ifw/libnl_ifw.c2
-rw-r--r--src/plugins/ifw/libnl_ifw.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ifw/libnl_ifw.c b/src/plugins/ifw/libnl_ifw.c
index bb41363..9a97bea 100644
--- a/src/plugins/ifw/libnl_ifw.c
+++ b/src/plugins/ifw/libnl_ifw.c
@@ -20,7 +20,7 @@ int nl_ifw_bind_socket(int s) {
memset(&saddr_nl, 0, sizeof(struct sockaddr_nl));
saddr_nl.nl_family = AF_NETLINK;
saddr_nl.nl_pid = getpid();
- saddr_nl.nl_groups = 10;
+ saddr_nl.nl_groups = 1;
res = bind(s, (struct sockaddr *)&saddr_nl, sizeof(saddr_nl));
if (res == -1) {
diff --git a/src/plugins/ifw/libnl_ifw.h b/src/plugins/ifw/libnl_ifw.h
index 896d05c..c58ebbc 100644
--- a/src/plugins/ifw/libnl_ifw.h
+++ b/src/plugins/ifw/libnl_ifw.h
@@ -12,7 +12,7 @@
#include <linux/if.h>
#include <linux/netlink.h>
-#define NETLINK_IFWLOG 19
+#define NETLINK_IFWLOG 20
#define PREFSIZ 32