summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-29 17:38:13 +0000
committerglebius <glebius@FreeBSD.org>2013-10-29 17:38:13 +0000
commitb0bc7b1d54670db8d6c891ef9a5c1cda849a2fac (patch)
treecc23fdb574448e1dae2d0149e33fec5d0ea23fe7 /contrib/tcpdump
parent8d47955f2179652405fb66d1978831eddd7a07cd (diff)
downloadFreeBSD-src-b0bc7b1d54670db8d6c891ef9a5c1cda849a2fac.zip
FreeBSD-src-b0bc7b1d54670db8d6c891ef9a5c1cda849a2fac.tar.gz
Make userland tools honor WITHOUT_PF build option.
Tested by: dt71@gmx.com
Diffstat (limited to 'contrib/tcpdump')
-rw-r--r--contrib/tcpdump/print-ip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/tcpdump/print-ip.c b/contrib/tcpdump/print-ip.c
index bc6cbcc..291901f 100644
--- a/contrib/tcpdump/print-ip.c
+++ b/contrib/tcpdump/print-ip.c
@@ -483,9 +483,11 @@ again:
pgm_print(ipds->cp, ipds->len, (const u_char *)ipds->ip);
break;
+#if defined(HAVE_NET_PFVAR_H)
case IPPROTO_PFSYNC:
pfsync_ip_print(ipds->cp, ipds->len);
break;
+#endif
default:
if (ndo->ndo_nflag==0 && (proto = getprotobynumber(ipds->nh)) != NULL)
OpenPOWER on IntegriCloud