diff options
author | sam <sam@FreeBSD.org> | 2006-06-02 23:14:40 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-06-02 23:14:40 +0000 |
commit | c35d17efe0d0b7b4ab064b041e890a7e341ab5ed (patch) | |
tree | 24469a0066d7f45b8c379dc7901a2dbfe0aab18d /sys/net/if_faith.c | |
parent | f018362c4adf765452a6cca57e43fb6f2f58b2ba (diff) | |
download | FreeBSD-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.c | 2 |
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); } |