summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2020-02-24 10:06:05 +0000
committerstsp <stsp@openbsd.org>2020-02-24 10:06:05 +0000
commit5cc95cdd1cd83ec0df1767247d0abd34362ce55c (patch)
tree1862c87c485a728fd2ee57a9a1a0a992a2d3e6ef
parentClarify that nwid/join SSIDs must be printable ASCII if they're not hex. (diff)
downloadwireguard-openbsd-5cc95cdd1cd83ec0df1767247d0abd34362ce55c.tar.xz
wireguard-openbsd-5cc95cdd1cd83ec0df1767247d0abd34362ce55c.zip
Don't needlessly cap SSID width in 'ifconfig joinlist' (matters with hex SSIDs).
ok kevlo@
-rw-r--r--sbin/ifconfig/ifconfig.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index e1dc9dbb07b..a62e8e1169d 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.418 2020/02/18 08:09:37 gerhard Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.419 2020/02/24 10:06:05 stsp Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -2575,8 +2575,6 @@ join_status(void)
if (len > maxlen)
maxlen = len;
}
- if (maxlen > IEEE80211_NWID_LEN)
- maxlen = IEEE80211_NWID_LEN - 1;
for (i = 0; i < ja.ja_nodes; i++) {
printf("\t ");