X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fdf8fb7399246033f58fa6864b3970df6257e515..0845bc813c1cc48b18cdefff0b387c110647463c:/print-nflog.c diff --git a/print-nflog.c b/print-nflog.c index cd0428bc..b096e9ec 100644 --- a/print-nflog.c +++ b/print-nflog.c @@ -25,14 +25,13 @@ * DAMAGE. */ -#define NETDISSECT_REWORKED #ifdef HAVE_CONFIG_H #include "config.h" #endif #include -#include "interface.h" +#include "netdissect.h" #if defined(DLT_NFLOG) && defined(HAVE_PCAP_NFLOG_H) #include @@ -145,11 +144,11 @@ nflog_if_print(netdissect_options *ndo, ip_print(ndo, p, length); break; -#ifdef INET6 +#ifdef AF_INET6 case AF_INET6: ip6_print(ndo, p, length); break; -#endif /*INET6*/ +#endif /* AF_INET6 */ default: if (!ndo->ndo_eflag)