Add missing BPF_MTAP2() for outbound packets.
This commit is contained in:
parent
2addcba7d5
commit
9597ff83b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335144
@ -549,6 +549,7 @@ me_transmit(struct ifnet *ifp, struct mbuf *m)
|
||||
hlen = sizeof(struct mobhdr);
|
||||
mh.mob_flags = MOB_FLAGS_SP;
|
||||
}
|
||||
BPF_MTAP2(ifp, &af, sizeof(af), m);
|
||||
plen = m->m_pkthdr.len;
|
||||
ip->ip_src = sc->me_src;
|
||||
ip->ip_dst = sc->me_dst;
|
||||
|
Loading…
Reference in New Issue
Block a user