Skip to content

Commit

Permalink
do not count retries
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 4, 2024
1 parent 369f6f5 commit ffd01b2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions hcxpcapngtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -4620,8 +4620,14 @@ if(macfrx->type == IEEE80211_FTYPE_MGMT)
else process80211probe_req_direct(packetimestamp, macfrx->addr2, macfrx->addr1, payloadlen, payloadptr);
}
else if(macfrx->subtype == IEEE80211_STYPE_ACTION) process80211action(packetimestamp, macfrx->addr2, payloadlen, payloadptr);
else if(macfrx->subtype == IEEE80211_STYPE_DEAUTH) deauthenticationcount++;
else if(macfrx->subtype == IEEE80211_STYPE_DISASSOC) disassociationcount++;
else if(macfrx->subtype == IEEE80211_STYPE_DEAUTH)
{
if(macfrx->retry == 0) deauthenticationcount++;
}
else if(macfrx->subtype == IEEE80211_STYPE_DISASSOC)
{
if(macfrx->retry == 0) disassociationcount++;
}
else if(macfrx->subtype == IEEE80211_STYPE_MGTRESERVED) mgtreservedcount++;
}
else if(macfrx->type == IEEE80211_FTYPE_DATA)
Expand Down

0 comments on commit ffd01b2

Please sign in to comment.