summaryrefslogtreecommitdiffstats
path: root/sys/net/if_faith.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-06-02 23:14:40 +0000
committersam <sam@FreeBSD.org>2006-06-02 23:14:40 +0000
commitc35d17efe0d0b7b4ab064b041e890a7e341ab5ed (patch)
tree24469a0066d7f45b8c379dc7901a2dbfe0aab18d /sys/net/if_faith.c
parentf018362c4adf765452a6cca57e43fb6f2f58b2ba (diff)
downloadFreeBSD-src-c35d17efe0d0b7b4ab064b041e890a7e341ab5ed.zip
FreeBSD-src-c35d17efe0d0b7b4ab064b041e890a7e341ab5ed.tar.gz
add missed calls to bpf_peers_present
Diffstat (limited to 'sys/net/if_faith.c')
-rw-r--r--sys/net/if_faith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c
index 71b8c35..6e3f446 100644
--- a/sys/net/if_faith.c
+++ b/sys/net/if_faith.c
@@ -204,7 +204,7 @@ faithoutput(ifp, m, dst, rt)
dst->sa_family = af;
}
- if (ifp->if_bpf) {
+ if (bpf_peers_present(ifp->if_bpf)) {
af = dst->sa_family;
bpf_mtap2(ifp->if_bpf, &af, sizeof(af), m);
}
OpenPOWER on IntegriCloud