summaryrefslogtreecommitdiff
path: root/net.BSD/iwconfig.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net.BSD/iwconfig.sh')
-rw-r--r--net.BSD/iwconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.BSD/iwconfig.sh b/net.BSD/iwconfig.sh
index 182bc47..8653776 100644
--- a/net.BSD/iwconfig.sh
+++ b/net.BSD/iwconfig.sh
@@ -45,7 +45,7 @@ iwconfig_get_wep_status() {
_iwconfig_get() {
LC_ALL=C ifconfig "${IFACE}" | \
- sed -n -e "s/^[[:space:]]*ssid \(.*\) channel \([0-9]*\) bssid \(..:..:..:..:..:..\)\$/\\$1/p"
+ sed -n -e "s/^[[:space:]]*ssid \(.*\) channel \([0-9]*\).* bssid \(..:..:..:..:..:..\)\$/\\$1/p"
}
_get_ssid() {