summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-05-17 10:47:30 -0700
committerGuy Harris <guy@alum.mit.edu>2015-05-17 10:47:30 -0700
commit032642d666080cbd1a7f759ece90c2f06ed69fe3 (patch)
tree0519ba6112f514fdd8c78bb2ac4bae0886257702 /print.c
parente8cd6c12e3a15dda738c5215b997c0b3fe5e2096 (diff)
downloadtcpdump-032642d666080cbd1a7f759ece90c2f06ed69fe3.tar.gz
Don't assume you have <net/if_pflog.h> if you have <net/pfvar.h>.
Debian/kFreeBSD ships <net/pfvar.h> but not <net/if_pflog.h>.
Diffstat (limited to 'print.c')
-rw-r--r--print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print.c b/print.c
index 648a8993..1e7feb6e 100644
--- a/print.c
+++ b/print.c
@@ -120,7 +120,7 @@ static const struct printer printers[] = {
#ifdef DLT_PPP_ETHER
{ pppoe_if_print, DLT_PPP_ETHER },
#endif
-#if defined(DLT_PFLOG) && defined(HAVE_NET_PFVAR_H)
+#if defined(DLT_PFLOG) && defined(HAVE_NET_IF_PFLOG_H)
{ pflog_if_print, DLT_PFLOG },
#endif
{ token_if_print, DLT_IEEE802 },