aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--torouterui/netif.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/torouterui/netif.py b/torouterui/netif.py
index 2738b26..9c9b08a 100644
--- a/torouterui/netif.py
+++ b/torouterui/netif.py
@@ -157,7 +157,7 @@ def parse_uaputl():
"""
d = dict()
uapinfo = cli_read_lines('uaputl sys_config')
- if 0 == len(iwinfo):
+ if 0 == len(uapinfo):
raise Exception('problem reading uaputl configuration')
for l in uapinfo:
l = l.strip()