[i] deferred removal from whitelist

This commit is contained in:
2021-10-10 19:03:19 +03:00
parent 80b2d2de15
commit 65b267963c
5 changed files with 36 additions and 8 deletions

View File

@ -22,6 +22,7 @@ type Config struct {
Jobs uint
OutputMode string
DenyTime uint
AllowTime uint
MaxConn uint
ShowVersion bool
@ -79,4 +80,7 @@ func (cfg *Config) SetEmptyArgs() {
if cfg.DenyTime == 0 {
cfg.DenyTime = 20 * 60
}
if cfg.AllowTime == 0 {
cfg.AllowTime = 20 * 60
}
}