summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-07 16:33:52 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-07 16:33:52 +0000
commitf6f6c62eef696d1e18b3bdab517c2001061f4add (patch)
tree7ef2acd05d92521a704826d7c74629ffba6ac447 /net-mgmt
parent- Fix SIZE line in distinfo (diff)
- Improve patch file
PR: ports/83068 Submitted by: Peter Thoenen <eol1@yahoo.com>
Notes
Notes: svn path=/head/; revision=138654
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/kismet/files/patch-pcapsource.cc22
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,