Skip to content

Commit

Permalink
fixed copy and paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 6, 2024
1 parent 1e475f3 commit 295fa88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hcxpcapngtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -4753,7 +4753,7 @@ if((rth->it_present & IEEE80211_RADIOTAP_FLAGS) == IEEE80211_RADIOTAP_FLAGS)
if((rth->it_present & IEEE80211_RADIOTAP_RATE) == IEEE80211_RADIOTAP_RATE) pf += 1;
if((rth->it_present & IEEE80211_RADIOTAP_CHANNEL) == IEEE80211_RADIOTAP_CHANNEL)
{
if(pf > caplen) false;
if(pf > caplen) return false;
if((pf %2) != 0) pf += 1;
frequency = (capptr[pf +1] << 8) + capptr[pf];
usedfrequency[frequency] += 1;
Expand Down

0 comments on commit 295fa88

Please sign in to comment.