diff options
Diffstat (limited to 'sshuttle/cmdline.py')
-rw-r--r-- | sshuttle/cmdline.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sshuttle/cmdline.py b/sshuttle/cmdline.py index e792e22..2295d36 100644 --- a/sshuttle/cmdline.py +++ b/sshuttle/cmdline.py @@ -43,7 +43,7 @@ def main(): if opt.firewall: if opt.subnets or opt.subnets_file: parser.error('exactly zero arguments expected') - return firewall.main(opt.method, opt.syslog, opt.ttl) + return firewall.main(opt.method, opt.syslog) elif opt.hostwatch: return hostwatch.hw_main(opt.subnets, opt.auto_hosts) else: @@ -116,8 +116,7 @@ def main(): opt.pidfile, opt.user, opt.sudo_pythonpath, - opt.tmark, - opt.ttl) + opt.tmark) if return_code == 0: log('Normal exit code, exiting...') |