mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-07-14 21:45:33 +02:00
Fix no value passed for argument auto_hosts in hw_main call
This commit is contained in:
@ -25,7 +25,7 @@ def main():
|
|||||||
parser.error('exactly zero arguments expected')
|
parser.error('exactly zero arguments expected')
|
||||||
return firewall.main(opt.method, opt.syslog)
|
return firewall.main(opt.method, opt.syslog)
|
||||||
elif opt.hostwatch:
|
elif opt.hostwatch:
|
||||||
return hostwatch.hw_main(opt.subnets)
|
return hostwatch.hw_main(opt.subnets, opt.auto_hosts)
|
||||||
else:
|
else:
|
||||||
includes = opt.subnets + opt.subnets_file
|
includes = opt.subnets + opt.subnets_file
|
||||||
excludes = opt.exclude
|
excludes = opt.exclude
|
||||||
|
Reference in New Issue
Block a user