summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/hostapd/print-802_11.c10
-rw-r--r--usr.sbin/tcpdump/print-802_11.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/hostapd/print-802_11.c b/usr.sbin/hostapd/print-802_11.c
index 66c4ce14ca6..feb167743e5 100644
--- a/usr.sbin/hostapd/print-802_11.c
+++ b/usr.sbin/hostapd/print-802_11.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-802_11.c,v 1.7 2015/01/16 06:40:17 deraadt Exp $ */
+/* $OpenBSD: print-802_11.c,v 1.8 2015/07/15 03:05:00 stsp Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -285,16 +285,16 @@ ieee80211_elements(struct ieee80211_frame *wh)
PRINTF(" %uM",
(data[0] & IEEE80211_RATE_VAL) / 2);
break;
- case IEEE80211_ELEMID_TPC:
+ case IEEE80211_ELEMID_TPC_REQUEST:
if (!vflag)
break;
- PRINTF(", tpc");
+ PRINTF(", tpcrequest");
ieee80211_print_element(data, len);
break;
- case IEEE80211_ELEMID_CCKM:
+ case IEEE80211_ELEMID_TPC_REPORT:
if (!vflag)
break;
- PRINTF(", cckm");
+ PRINTF(", tpcreport");
ieee80211_print_element(data, len);
break;
case IEEE80211_ELEMID_VENDOR:
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;