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:
Donal Cahill
2015-12-13 07:39:10 +00:00
parent b4bb4fa0cd
commit d6b839ef85

View File

@@ -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;