Fix no value passed for argument auto_hosts in hw_main call

This commit is contained in:
vieira 2017-11-07 21:49:10 +00:00 committed by Brian May
parent 47030e846b
commit ad676029c7

View File

@ -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