From 064693d14752f62d6a2d66005069e840384f5a80 Mon Sep 17 00:00:00 2001 From: ficus Date: Fri, 28 Sep 2012 01:12:06 +0200 Subject: ssid broadcast str len fix --- torouterui/netif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'torouterui') 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 ="): -- cgit v1.2.3