diff --git a/knockr.go b/knockr.go index 538b897..0002e58 100644 --- a/knockr.go +++ b/knockr.go @@ -61,6 +61,7 @@ func gateway_handler(c net.Conn) { if is_whitelisted(host) { fmt.Println("[OK ] Whitelisted host ", host, " connected") + update_whitelist_time(host) proxy(c) } else { fmt.Println("[BLK] Blocking host ", host)