diff options
Diffstat (limited to 'sys/dev/my')
-rw-r--r-- | sys/dev/my/if_my.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c index 0e9d106..b17751c 100644 --- a/sys/dev/my/if_my.c +++ b/sys/dev/my/if_my.c @@ -1162,7 +1162,7 @@ my_rxeof(struct my_softc * sc) * address or the interface is in promiscuous mode. */ if (bpf_peers_present(ifp->if_bpf)) { - bpf_mtap(ifp, m); + bpf_mtap(ifp->if_bpf, m); if (ifp->if_flags & IFF_PROMISC && (bcmp(eh->ether_dhost, IF_LLADDR(sc->my_ifp), ETHER_ADDR_LEN) && |