mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-21 15:33:23 +01:00
Fix joining of seed hosts to be compatible with python 3.5
this should also be backwards compatible with python 2
This commit is contained in:
parent
7f0b5c698b
commit
d80b590a71
@ -487,7 +487,7 @@ def _main(tcp_listener, udp_listener, fw, ssh_cmd, remotename,
|
||||
|
||||
if seed_hosts is not None:
|
||||
debug1('seed_hosts: %r\n' % seed_hosts)
|
||||
mux.send(0, ssnet.CMD_HOST_REQ, b'\n'.join(seed_hosts))
|
||||
mux.send(0, ssnet.CMD_HOST_REQ, str.encode('\n'.join(seed_hosts)))
|
||||
|
||||
while 1:
|
||||
rv = serverproc.poll()
|
||||
|
Loading…
Reference in New Issue
Block a user