diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-07 16:33:52 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-07 16:33:52 +0000 |
commit | f6f6c62eef696d1e18b3bdab517c2001061f4add (patch) | |
tree | 7ef2acd05d92521a704826d7c74629ffba6ac447 /net-mgmt | |
parent | 5e6192e8d97bded97affc1d5ca11bd905c1ed395 (diff) |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/kismet/files/patch-pcapsource.cc | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/net-mgmt/kismet/files/patch-pcapsource.cc b/net-mgmt/kismet/files/patch-pcapsource.cc index ea80ee2b09d6..27aef0dd51fb 100644 --- a/net-mgmt/kismet/files/patch-pcapsource.cc +++ b/net-mgmt/kismet/files/patch-pcapsource.cc @@ -1,11 +1,23 @@ --- pcapsource.cc.orig Wed Jun 22 08:22:23 2005 -+++ pcapsource.cc Sun Jul 3 22:44:22 2005 -@@ -610,7 +610,7 @@ ++++ pcapsource.cc Wed Jul 6 18:37:03 2005 +@@ -610,9 +610,6 @@ (bit0 + BITNO_32(present ^ next_present)); switch (bit) { - case IEEE80211_RADIOTAP_FCS: -+ case IEEE80211_RADIOTAP_F_FCS: - fcs_cut = 4; - break; +- fcs_cut = 4; +- break; case IEEE80211_RADIOTAP_FLAGS: + case IEEE80211_RADIOTAP_RATE: + case IEEE80211_RADIOTAP_DB_ANTSIGNAL: +@@ -678,6 +675,10 @@ + case IEEE80211_RADIOTAP_DB_ANTNOISE: + packet->noise = u.i8; + break; ++ case IEEE80211_RADIOTAP_FLAGS: ++ if (u.u8 & IEEE80211_RADIOTAP_F_FCS) ++ fcs_cut = 4; ++ break; + #if 0 + case IEEE80211_RADIOTAP_FHSS: + printf("fhset %d fhpat %d ", u.u16 & 0xff, |