summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-12-10 17:42:47 +0000
committermlaier <mlaier@FreeBSD.org>2004-12-10 17:42:47 +0000
commit5a1a81dd9977c4cc47f4fab12d1541511b1fc7d9 (patch)
treec61f6905bff717bf9bdaab8179c76ab6ad5ffa67 /sys
parent01b59b692915f6bd0de35468452d05034405ed28 (diff)
downloadFreeBSD-src-5a1a81dd9977c4cc47f4fab12d1541511b1fc7d9.zip
FreeBSD-src-5a1a81dd9977c4cc47f4fab12d1541511b1fc7d9.tar.gz
Compile pfsync w/o bpf.
Noticed by: "Jayel Villamin" <jarthel operamail com>
Diffstat (limited to 'sys')
-rw-r--r--sys/contrib/pf/net/if_pfsync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/pf/net/if_pfsync.c b/sys/contrib/pf/net/if_pfsync.c
index a03b86a..433f276 100644
--- a/sys/contrib/pf/net/if_pfsync.c
+++ b/sys/contrib/pf/net/if_pfsync.c
@@ -1529,7 +1529,9 @@ int
pfsync_sendout(sc)
struct pfsync_softc *sc;
{
+#if NBPFILTER > 0
struct ifnet *ifp = &sc->sc_if;
+#endif
struct mbuf *m;
#ifdef __FreeBSD__
OpenPOWER on IntegriCloud