diff --git a/tlsserver.go b/tlsserver.go index 64c5516..0c75d37 100644 --- a/tlsserver.go +++ b/tlsserver.go @@ -146,7 +146,7 @@ var badActors = map[string]int{} func isBadActor(host string) bool { mux.RLock() defer mux.RUnlock() - if n, ok := badActors[host]; ok && n >= 10 { + if n, ok := badActors[host]; ok && n >= *max { return true } return false