mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Improve patch file
PR: ports/83068 Submitted by: Peter Thoenen <eol1@yahoo.com>
This commit is contained in:
parent
5e6192e8d9
commit
f6f6c62eef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138654
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user