count packets
This commit is contained in:
parent
ce62079b6b
commit
13471c2b32
@ -127,6 +127,9 @@ static int
|
||||
monitor_input(struct ieee80211_node *ni, struct mbuf *m, int rssi, int nf)
|
||||
{
|
||||
struct ieee80211vap *vap = ni->ni_vap;
|
||||
struct ifnet *ifp = vap->iv_ifp;
|
||||
|
||||
ifp->if_ipackets++;
|
||||
|
||||
if (ieee80211_radiotap_active_vap(vap))
|
||||
ieee80211_radiotap_rx(vap, m);
|
||||
|
Loading…
Reference in New Issue
Block a user