提交 cbddeebe 编写于 作者: B Ben Laurie

Some interfaces may have IPv6 addresses even if an IPv6 address is not

"configured on the local system". Whatever that means. Example that is biting
me is loopback has ::1 as an address, but the network interface is v4 only.
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 03cb37ac
......@@ -666,9 +666,6 @@ int BIO_lookup(const char *host, const char *service,
struct addrinfo hints;
memset(&hints, 0, sizeof hints);
# ifdef AI_ADDRCONFIG
hints.ai_flags = AI_ADDRCONFIG;
# endif
hints.ai_family = family;
hints.ai_socktype = socktype;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册