Commit ae13316e authored by vieira's avatar vieira Committed by Brian May

Just skip empty lines of routes data instead of stopping processing

parent e173eb60
......@@ -489,7 +489,7 @@ def _main(tcp_listener, udp_listener, fw, ssh_cmd, remotename,
def onroutes(routestr):
if auto_nets:
for line in routestr.strip().split(b'\n'):
if not line: break
if not line: continue
(family, ip, width) = line.split(b',', 2)
family = int(family)
width = int(width)
......
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