1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Fix fat-fingering in previous commit.

Pointy hat to:	jhb
This commit is contained in:
John Baldwin 2006-12-29 16:38:22 +00:00
parent f9530cf087
commit 5583491044
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165640
4 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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) &&

View File

@ -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

View File

@ -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