Commit d70b5f2b authored by Brian May's avatar Brian May

Merge pull request #13 from shaiay/master

Fixed issue #12
parents 53d5260f 3f2de26f
...@@ -554,7 +554,7 @@ def _main(tcp_listener, udp_listener, fw, ssh_cmd, remotename, ...@@ -554,7 +554,7 @@ def _main(tcp_listener, udp_listener, fw, ssh_cmd, remotename,
if auto_nets: if auto_nets:
for line in routestr.strip().split('\n'): for line in routestr.strip().split('\n'):
(family, ip, width) = line.split(',', 2) (family, ip, width) = line.split(',', 2)
fw.auto_nets.append((family, ip, int(width))) fw.auto_nets.append((int(family), ip, int(width)))
# we definitely want to do this *after* starting ssh, or we might end # we definitely want to do this *after* starting ssh, or we might end
# up intercepting the ssh connection! # up intercepting the ssh connection!
......
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