summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/print-ip.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-03-12 10:45:58 +0000
committerglebius <glebius@FreeBSD.org>2014-03-12 10:45:58 +0000
commitf937dcf2bd0584087acec5d8dc92dd5dba177113 (patch)
tree8cbef21f45f26a80647ff8a0604c3c9c65c2bb40 /contrib/tcpdump/print-ip.c
parenteeff801556700aefbd569ad4bac5acdebcc3b9a8 (diff)
downloadFreeBSD-src-f937dcf2bd0584087acec5d8dc92dd5dba177113.zip
FreeBSD-src-f937dcf2bd0584087acec5d8dc92dd5dba177113.tar.gz
Bulk sync of pf changes from head, in attempt to fixup broken build I
made in r263029. Merge r257186,257215,257349,259736,261797. These changesets split pfvar.h into several smaller headers and make userland utilities to include only some of them.
Diffstat (limited to 'contrib/tcpdump/print-ip.c')
-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