ident.c: add support for IPv6
Add IPv6 support by implementing name resolution with the protocol agnostic getaddrinfo(3) API. The old gethostbyname(3) code is still available when git is compiled with NO_IPV6. Signed-off-by: NElia Pinto <gitter.spiros@gmail.com> Helped-by: NJeff King <peff@peff.net> Helped-by: NEric Sunshine <sunshine@sunshineco.com> Signed-off-by: NJeff King <peff@peff.net>
Showing
想要评论请 注册 或 登录