Pull request: 5035-netip-maps-clients
Updates #5035. Squashed commit of the following: commit c2d38fe75b8aa2f00b19892724984ed3bb843db5 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Oct 24 16:50:14 2022 +0300 home: move clients to netip.Addr
This commit is contained in:
@@ -706,7 +706,5 @@ func (s *Server) IsBlockedClient(ip net.IP, clientID string) (blocked bool, rule
|
||||
blocked = true
|
||||
}
|
||||
|
||||
rule = aghalg.Coalesce(rule, clientID)
|
||||
|
||||
return blocked, rule
|
||||
return blocked, aghalg.Coalesce(rule, clientID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user