summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2016-06-05 17:11:42 +0000
committerstsp <stsp@openbsd.org>2016-06-05 17:11:42 +0000
commit20e7fdff7115fb8711cd68a43f67172b9b20d55d (patch)
tree0e3ab39dcd31252da9b1bcbb7ba7e9f96c014d0c
parentCall if_update() only when necessary for IPv6 address changes. (diff)
downloadwireguard-openbsd-20e7fdff7115fb8711cd68a43f67172b9b20d55d.tar.xz
wireguard-openbsd-20e7fdff7115fb8711cd68a43f67172b9b20d55d.zip
In netstat, display correct counter for 'no basic MCS set' error.
ok sthen@ tb@
-rw-r--r--usr.bin/netstat/net80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/net80211.c b/usr.bin/netstat/net80211.c
index e9dfb333358..f1219ff9e17 100644
--- a/usr.bin/netstat/net80211.c
+++ b/usr.bin/netstat/net80211.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: net80211.c,v 1.15 2016/04/28 14:46:50 stsp Exp $ */
+/* $OpenBSD: net80211.c,v 1.16 2016/06/05 17:11:42 stsp Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -117,7 +117,7 @@ net80211_ifstats(char *ifname)
p(is_pbac_errs, "\t%lu pbac error%s\n");
p(is_ht_nego_no_mandatory_mcs, "\t%lu HT negotiation failure%s because "
"peer does not support MCS 0-7\n");
- p(is_ht_nego_no_mandatory_mcs, "\t%lu HT negotiation failure%s because "
+ p(is_ht_nego_no_basic_mcs, "\t%lu HT negotiation failure%s because "
"we do not support basic MCS set\n");
p(is_ht_nego_bad_crypto,
"\t%lu HT negotiation failure%s because peer uses bad crypto\n");