]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-nflog.c
Default to first interface from pcap_findalldevs()
[tcpdump] / print-nflog.c
index a29b930cb30f25ea4c01a57cc34efb9c1208a484..2a42f537c78da879cf204235ba72cebf4af95b45 100644 (file)
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
-#include "interface.h"
+#include "netdissect.h"
 
 #if defined(DLT_NFLOG) && defined(HAVE_PCAP_NFLOG_H)
 #include <pcap/nflog.h>
 
 static const struct tok nflog_values[] = {
        { AF_INET,              "IPv4" },
-#ifdef INET6
+#ifdef AF_INET6
        { AF_INET6,             "IPv6" },
-#endif /*INET6*/
+#endif /*AF_INET6*/
        { 0,                    NULL }
 };