summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2015-07-15 03:05:01 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2015-07-15 03:05:01 +0000
commit15afa26d1380b4d637e1f59b0fa1edc8afb76aa5 (patch)
tree01ebb6f30c77a94cfbcea8f085c19d9120267995 /usr.sbin/tcpdump
parentc864c198be007104f9944aeddd7c01a72210a933 (diff)
Unbreak the tree. Remove use of removed ieee80211 element IDs from hostapd
and from tcpdump. Pointed out by James Hartley.
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-802_11.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/tcpdump/print-802_11.c b/usr.sbin/tcpdump/print-802_11.c
index 73b949eef3f..52bd80d5b2f 100644
--- a/usr.sbin/tcpdump/print-802_11.c
+++ b/usr.sbin/tcpdump/print-802_11.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-802_11.c,v 1.17 2015/04/08 21:44:16 sthen Exp $ */
+/* $OpenBSD: print-802_11.c,v 1.18 2015/07/15 03:05:00 stsp Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -345,13 +345,13 @@ ieee80211_elements(struct ieee80211_frame *wh, u_int flen)
printf(" %uM",
(data[0] & IEEE80211_RATE_VAL) / 2);
break;
- case IEEE80211_ELEMID_TPC:
- printf(", tpc");
+ case IEEE80211_ELEMID_TPC_REPORT:
+ printf(", tpcreport");
if (vflag)
ieee80211_print_element(data, len);
break;
- case IEEE80211_ELEMID_CCKM:
- printf(", cckm");
+ case IEEE80211_ELEMID_TPC_REQUEST:
+ printf(", tpcrequest");
if (vflag)
ieee80211_print_element(data, len);
break;