diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2023-06-14 03:58:36 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2023-06-14 03:58:36 +0000 |
commit | 171a7bbfc04885150401ab64d96793373a8b2061 (patch) | |
tree | ae4a216b1ff5ab907f49686ad5c44b70c310b0cd | |
parent | 6cc4a1c3205a7624846c2c84a7d829aeb208a138 (diff) | |
download | src-171a7bbfc048.tar.gz src-171a7bbfc048.zip |
tcpdump: fix build with WITHOUT_PF=1
Fixes: ee67461e56828dd1f8de165947ba83f6d9148a87
-rw-r--r-- | contrib/tcpdump/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcpdump/print.c b/contrib/tcpdump/print.c index 9c0ab8622de1..42a4548e8689 100644 --- a/contrib/tcpdump/print.c +++ b/contrib/tcpdump/print.c @@ -185,7 +185,7 @@ static const struct printer printers[] = { #ifdef DLT_LOOP { null_if_print, DLT_LOOP }, #endif -#ifdef DLT_PFLOG +#if defined(DLT_PFLOG) && defined(HAVE_NET_IF_PFLOG_H) { pflog_if_print, DLT_PFLOG }, #endif #ifdef DLT_PKTAP |