display a bssid that's zero with the -v option
This commit is contained in:
parent
8e292e8ecd
commit
aa5eb8878e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153405
@ -1451,7 +1451,7 @@ ieee80211_status(int s)
|
||||
ireq.i_type = IEEE80211_IOC_BSSID;
|
||||
ireq.i_len = IEEE80211_ADDR_LEN;
|
||||
if (ioctl(s, SIOCG80211, &ireq) >= 0 &&
|
||||
memcmp(ireq.i_data, zerobssid, sizeof(zerobssid)) != 0)
|
||||
(memcmp(ireq.i_data, zerobssid, sizeof(zerobssid)) != 0 || verbose))
|
||||
printf(" bssid %s", ether_ntoa(ireq.i_data));
|
||||
|
||||
ireq.i_type = IEEE80211_IOC_STATIONNAME;
|
||||
|
Loading…
Reference in New Issue
Block a user