From ae13316e836d5f332e92e0e472075554472fc888 Mon Sep 17 00:00:00 2001 From: vieira Date: Thu, 19 Oct 2017 01:02:58 +0000 Subject: [PATCH] Just skip empty lines of routes data instead of stopping processing --- sshuttle/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshuttle/client.py b/sshuttle/client.py index 20ac10e..60b4ce4 100644 --- a/sshuttle/client.py +++ b/sshuttle/client.py @@ -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)