summaryrefslogtreecommitdiffstats
path: root/sshuttle/client.py
diff options
context:
space:
mode:
authorBecz Tamás <becz.tamas@balasys.hu>2017-12-15 15:14:16 +0100
committerBrian May <brian@linuxpenguins.xyz>2018-01-01 09:35:41 +1100
commit6b48301b8606850562db04362c38afef738f29ef (patch)
treecf1535c2bac2bfc1b8b19183c715ccc608df2824 /sshuttle/client.py
parentbe90cc8abd01af54c709f2a80e85696640766dc1 (diff)
move sdnotify after setting up firewall rules
Diffstat (limited to 'sshuttle/client.py')
-rw-r--r--sshuttle/client.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sshuttle/client.py b/sshuttle/client.py
index 88562ba..46dc071 100644
--- a/sshuttle/client.py
+++ b/sshuttle/client.py
@@ -8,7 +8,6 @@ import os
import sshuttle.ssnet as ssnet
import sshuttle.ssh as ssh
import sshuttle.ssyslog as ssyslog
-import sshuttle.sdnotify as sdnotify
import sys
import platform
from sshuttle.ssnet import SockWrapper, Handler, Proxy, Mux, MuxWrapper
@@ -533,9 +532,6 @@ def _main(tcp_listener, udp_listener, fw, ssh_cmd, remotename,
debug1('seed_hosts: %r\n' % seed_hosts)
mux.send(0, ssnet.CMD_HOST_REQ, str.encode('\n'.join(seed_hosts)))
- sdnotify.send(sdnotify.ready(),
- sdnotify.status('Connected to %s.' % remotename))
-
while 1:
rv = serverproc.poll()
if rv: