Fix fat-fingering in previous commit.
Pointy hat to: jhb
This commit is contained in:
parent
f9530cf087
commit
5583491044
@ -794,7 +794,7 @@ en_txdma(struct en_softc *sc, struct en_txslot *slot)
|
||||
tx.m->m_pkthdr.len = tx.datalen;
|
||||
}
|
||||
|
||||
bpf_mtap(sc->ifp, tx.m);
|
||||
bpf_mtap(sc->ifp->if_bpf, tx.m);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -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) &&
|
||||
|
@ -455,7 +455,7 @@ static void
|
||||
lptap(struct ifnet *ifp, struct mbuf *m)
|
||||
{
|
||||
u_int32_t af = AF_INET;
|
||||
bpf_mtap2(ifp, &af, sizeof(af), m);
|
||||
bpf_mtap2(ifp->if_bpf, &af, sizeof(af), m);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -891,7 +891,7 @@ ipr_rx_data_rdy(int unit)
|
||||
mm.m_next = m;
|
||||
mm.m_len = 4;
|
||||
mm.m_data = (char *)⁡
|
||||
bpf_mtap(sc->sc_ifp, &mm);
|
||||
bpf_mtap(sc->sc_ifp->if_bpf, &mm);
|
||||
}
|
||||
|
||||
if(netisr_queue(NETISR_IP, m)) /* (0) on success. */
|
||||
@ -945,7 +945,7 @@ ipr_tx_queue_empty(int unit)
|
||||
mm.m_next = m;
|
||||
mm.m_len = 4;
|
||||
mm.m_data = (char *)⁡
|
||||
bpf_mtap(sc->sc_ifp, &mm);
|
||||
bpf_mtap(sc->sc_ifp->if_bpf, &mm);
|
||||
}
|
||||
|
||||
#if I4BIPRACCT
|
||||
|
Loading…
Reference in New Issue
Block a user