summaryrefslogtreecommitdiff
path: root/net/tcpdump/files/extra-patch-tcpdump.c
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2003-12-11 14:03:35 +0000
committerBruce M Simpson <bms@FreeBSD.org>2003-12-11 14:03:35 +0000
commit64b3fe8cd69a1f3d3328fabd3d4cd81be74e16ee (patch)
tree6ffc29180d4baffb866d7697ed1d1f51aa41038c /net/tcpdump/files/extra-patch-tcpdump.c
parent- Unbreak: switch from courier:courier (UID/GID 62, conflicts with pf) (diff)
Add a new option, WITH_RADIOTAP. Import David Young's patches for using the
new net80211 radiotap interface. This can be activated once the tcpdump port is built and installed using the datalink type IEEE802_11_RADIO. Tested with a wi(4), OEM PRISM2, 1.4.9 STA firmware. Submitted by: David Young Sponsored by: consume.net
Notes
Notes: svn path=/head/; revision=95600
Diffstat (limited to '')
-rw-r--r--net/tcpdump/files/extra-patch-tcpdump.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/tcpdump/files/extra-patch-tcpdump.c b/net/tcpdump/files/extra-patch-tcpdump.c
new file mode 100644
index 000000000000..27a98224c6f6
--- /dev/null
+++ b/net/tcpdump/files/extra-patch-tcpdump.c
@@ -0,0 +1,15 @@
+--- tcpdump.c.orig Wed Dec 10 19:04:45 2003
++++ tcpdump.c Wed Dec 10 19:09:25 2003
+@@ -69,6 +69,12 @@
+ #include "gmt2local.h"
+ #include "pcap-missing.h"
+
++/*
++ * XXX: quick and dirty until FreeBSD defines DLT_IEEE802_11_RADIO in
++ * <net/bpf.h>. -bms
++ */
++#include "ieee802_11_radio.h"
++
+ int dflag; /* print filter code */
+ int eflag; /* print ethernet header */
+ int fflag; /* don't translate "foreign" IP address */