diff --git a/goatherd.go b/goatherd.go index 9269c6855afbc5e3337b6d8fc4139ea576e3b33d..a778b5d49544b061f0f2eb52b48510936c2de700 100644 --- a/goatherd.go +++ b/goatherd.go @@ -647,6 +647,7 @@ func main() { flagConfig := flag.String("config", "/etc/goatherd.conf", "Path to config file") flag.StringVar(&cfg.DbURL, "db-url", "", "URL used to connect to the database.") flag.Uint64Var(&cfg.Lookahead, "lookahead", 10, "Counter range to check for matching OTPs.") + flag.Uint64Var(&cfg.Lookaround, "lookaround", 2, "Allow time based counter offset to check for matching OTPs.") flag.BoolVar(&cfg.Debug, "debug", false, "Enable debug output.") flag.DurationVar(&cfg.Faildelay.Duration, "faildelay", 1*time.Second, "Per-user delay after a failed authentication attempt.")