mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Remove AI_ADDRCONFIG from CIDR IP conversion.
IPv6 tests will fail if AI_ADDRCONFIG is set. It's not really needed.
This commit is contained in:
@@ -863,7 +863,7 @@ bool CUser::IsHostAllowed(const CString& sHostMask) const {
|
||||
|
||||
aiHints.ai_family = AF_UNSPEC; // Allow any address family
|
||||
aiHints.ai_socktype = 0; // Any socket
|
||||
aiHints.ai_flags = AI_NUMERICHOST | AI_ADDRCONFIG;
|
||||
aiHints.ai_flags = AI_NUMERICHOST;
|
||||
aiHints.ai_protocol = 0; // Any protocol
|
||||
aiHints.ai_canonname = NULL;
|
||||
aiHints.ai_addr = NULL;
|
||||
|
||||
Reference in New Issue
Block a user