diff options
author | sam <sam@FreeBSD.org> | 2005-12-14 01:22:26 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-12-14 01:22:26 +0000 |
commit | 624e7ec4b0595624f955866daa760850c9f32c3b (patch) | |
tree | 375e2f1b48fc2229727d46d6b669126256b48ba6 | |
parent | 732b0618d0d13114f01447231ee859125cf0bfde (diff) | |
download | FreeBSD-src-624e7ec4b0595624f955866daa760850c9f32c3b.zip FreeBSD-src-624e7ec4b0595624f955866daa760850c9f32c3b.tar.gz |
display a bssid that's zero with the -v option
-rw-r--r-- | sbin/ifconfig/ifieee80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c index eece245..c3c63a4 100644 --- a/sbin/ifconfig/ifieee80211.c +++ b/sbin/ifconfig/ifieee80211.c @@ -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; |