tcpdump: fix build with WITHOUT_PF=1

Fixes:	ee67461e56
This commit is contained in:
Gleb Smirnoff 2023-06-13 20:58:36 -07:00
parent 6cc4a1c320
commit 171a7bbfc0

View File

@ -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