summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2020-02-24 10:06:06 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2020-02-24 10:06:06 +0000
commite3f71ee82e7f4e32391adfd10087cb95c840b44a (patch)
tree35c26bce74d28c9a58020a89a3790c676b63cfbc /sbin
parentd9094903af81676b69d5648a3cf76595fb3fa435 (diff)
Don't needlessly cap SSID width in 'ifconfig joinlist' (matters with hex SSIDs).
ok kevlo@
Diffstat (limited to 'sbin')
-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 ");