aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-28 01:12:06 +0200
committerficus <ficus@robocracy.org>2012-09-28 01:12:06 +0200
commit064693d14752f62d6a2d66005069e840384f5a80 (patch)
treedb778cf68e94c2f735bcf5b908eaed228c263b63
parent509c7d177d77b884f2054f35119812121969fdbf (diff)
downloadtui-064693d14752f62d6a2d66005069e840384f5a80.tar.gz
tui-064693d14752f62d6a2d66005069e840384f5a80.zip
ssid broadcast str len fix
-rw-r--r--torouterui/netif.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/torouterui/netif.py b/torouterui/netif.py
index 4d08f14..336ef60 100644
--- a/torouterui/netif.py
+++ b/torouterui/netif.py
@@ -168,7 +168,7 @@ def parse_uaputl():
if l.startswith("SSID ="):
d['ssid'] = l[7:].strip()
if l.startswith("SSID broadcast ="):
- d['ssid_broadcast'] = l[7:].strip()
+ d['ssid_broadcast'] = l[17:].strip()
elif l.startswith("Channel ="):
d['channel'] = l[10:].strip()
elif l.startswith("Tx power ="):