mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-22 13:58:50 +01:00
Fix no value passed for argument auto_hosts in hw_main call
This commit is contained in:
parent
47030e846b
commit
ad676029c7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user