diff options
author | mlaier <mlaier@FreeBSD.org> | 2004-12-10 17:42:47 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2004-12-10 17:42:47 +0000 |
commit | 5a1a81dd9977c4cc47f4fab12d1541511b1fc7d9 (patch) | |
tree | c61f6905bff717bf9bdaab8179c76ab6ad5ffa67 | |
parent | 01b59b692915f6bd0de35468452d05034405ed28 (diff) | |
download | FreeBSD-src-5a1a81dd9977c4cc47f4fab12d1541511b1fc7d9.zip FreeBSD-src-5a1a81dd9977c4cc47f4fab12d1541511b1fc7d9.tar.gz |
Compile pfsync w/o bpf.
Noticed by: "Jayel Villamin" <jarthel operamail com>
-rw-r--r-- | sys/contrib/pf/net/if_pfsync.c | 2 |
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__ |