summaryrefslogtreecommitdiffstats
path: root/sshuttle/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'sshuttle/server.py')
-rw-r--r--sshuttle/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshuttle/server.py b/sshuttle/server.py
index e40e76b..6813728 100644
--- a/sshuttle/server.py
+++ b/sshuttle/server.py
@@ -326,7 +326,7 @@ def main(latency_control, auto_hosts, to_nameserver):
def got_host_req(data):
if not hw.pid:
(hw.pid, hw.sock) = start_hostwatch(
- data.strip().split(), auto_hosts)
+ data.decode("ASCII").strip().split(), auto_hosts)
handlers.append(Handler(socks=[hw.sock],
callback=hostwatch_ready))
mux.got_host_req = got_host_req