diff --git a/sshuttle/cmdline.py b/sshuttle/cmdline.py index e8342ff..7bad27a 100644 --- a/sshuttle/cmdline.py +++ b/sshuttle/cmdline.py @@ -25,7 +25,7 @@ def main(): parser.error('exactly zero arguments expected') return firewall.main(opt.method, opt.syslog) elif opt.hostwatch: - return hostwatch.hw_main(opt.subnets) + return hostwatch.hw_main(opt.subnets, opt.auto_hosts) else: includes = opt.subnets + opt.subnets_file excludes = opt.exclude