summaryrefslogtreecommitdiff
path: root/print-nflog.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-nflog.c')
-rw-r--r--print-nflog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print-nflog.c b/print-nflog.c
index fdd21e69..238226e1 100644
--- a/print-nflog.c
+++ b/print-nflog.c
@@ -37,12 +37,13 @@
#include "netdissect.h"
#include "interface.h"
-#ifdef HAVE_LINUX_NETFILTER_NFNETLINK_LOG_H
-#include <linux/netfilter/nfnetlink_log.h>
#include "nflog.h"
#ifdef DLT_NFLOG
+#define NFULA_PAYLOAD 9
+#define NFULA_MAX 17
+
const struct tok nflog_values[] = {
{ AF_INET, "IPv4" },
{ AF_INET6, "IPv6" },
@@ -150,5 +151,4 @@ nflog_if_print(struct netdissect_options *ndo,
return (sizeof(nflog_hdr_t));
}
-#endif /* HAVE_LINUX_NETFILTER_NFNETLINK_LOG_H */
#endif /* DLT_NFLOG */