mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 15:10:57 +01:00
count packets
This commit is contained in:
parent
ce62079b6b
commit
13471c2b32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193287
@ -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