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> MFC after: 4 days
This commit is contained in:
parent
176d3efd2b
commit
bdad1bcea4
@ -3305,7 +3305,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"
|
||||
|
Loading…
Reference in New Issue
Block a user