diff --git a/sshuttle/client.py b/sshuttle/client.py index 1a96825..20ac10e 100644 --- a/sshuttle/client.py +++ b/sshuttle/client.py @@ -489,6 +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 (family, ip, width) = line.split(b',', 2) family = int(family) width = int(width)