ident.c: add support for IPv6
authorElia Pinto <redacted>
Fri, 27 Nov 2015 14:08:27 +0000 (14:08 +0000)
committerJeff King <redacted>
Sat, 28 Nov 2015 17:20:42 +0000 (12:20 -0500)
commit00bce77fe5b30720f4031f048abf42517b0da0ba
tree513090cc6f490120273d920a9d1cc2151bb3c29b
parentb05c2f9ed48adfd9670b28ecdd5c55a4e4698704
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: Elia Pinto <redacted>
Helped-by: Jeff King <redacted>
Helped-by: Eric Sunshine <redacted>
Signed-off-by: Jeff King <redacted>
ident.c
git clone https://git.99rst.org/PROJECT