diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-05-17 10:47:30 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-05-17 10:47:30 -0700 |
commit | 032642d666080cbd1a7f759ece90c2f06ed69fe3 (patch) | |
tree | 0519ba6112f514fdd8c78bb2ac4bae0886257702 /print.c | |
parent | e8cd6c12e3a15dda738c5215b997c0b3fe5e2096 (diff) | |
download | tcpdump-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }, |