summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/bpf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 1ed528b..659410d 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1310,10 +1310,6 @@ bpf_mtap(bp, m)
return;
pktlen = m_length(m, NULL);
- if (pktlen == m->m_len) {
- bpf_tap(bp, mtod(m, u_char *), pktlen);
- return;
- }
BPFIF_LOCK(bp);
LIST_FOREACH(d, &bp->bif_dlist, bd_next) {
OpenPOWER on IntegriCloud