Commit 0945d549 authored by Ad Schellevis's avatar Ad Schellevis

fix typo in list_states.py

parent c69c71f6
...@@ -62,7 +62,7 @@ if __name__ == '__main__': ...@@ -62,7 +62,7 @@ if __name__ == '__main__':
for line in data.split('\n'): for line in data.split('\n'):
parts = line.split() parts = line.split()
if len(parts) >= 6: if len(parts) >= 6:
record = dict record = dict()
record['nat_addr'] = None record['nat_addr'] = None
record['nat_port'] = None record['nat_port'] = None
record['iface'] = parts[0] record['iface'] = parts[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment