Date: Sun, 18 Dec 2016 20:59:24 +0000 (UTC) From: Andriy Voskoboinyk <avos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r310235 - stable/11/sbin/ifconfig Message-ID: <201612182059.uBIKxOWW070927@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avos Date: Sun Dec 18 20:59:24 2016 New Revision: 310235 URL: https://svnweb.freebsd.org/changeset/base/310235 Log: MFC r310089: ifconfig: do not truncate SSID in verbose mode. Fix 32-character SSID abbreviation for 'ifconfig -v wlan0 scan' command. PR: 215301 Submitted by: <ms-freebsd-bugzilla@stoffnet.at> Modified: stable/11/sbin/ifconfig/ifieee80211.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sbin/ifconfig/ifieee80211.c ============================================================================== --- stable/11/sbin/ifconfig/ifieee80211.c Sun Dec 18 20:56:14 2016 (r310234) +++ stable/11/sbin/ifconfig/ifieee80211.c Sun Dec 18 20:59:24 2016 (r310235) @@ -3311,7 +3311,7 @@ list_scan(int s) getchaninfo(s); - ssidmax = verbose ? IEEE80211_NWID_LEN - 1 : 14; + ssidmax = verbose ? IEEE80211_NWID_LEN : 14; printf("%-*.*s %-17.17s %4s %4s %-7s %3s %4s\n" , ssidmax, ssidmax, "SSID/MESH ID" , "BSSID"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612182059.uBIKxOWW070927>