]> git.ipfire.org Git - thirdparty/git.git/commit - ident.c
ident.c: add support for IPv6
authorElia Pinto <gitter.spiros@gmail.com>
Fri, 27 Nov 2015 14:08:27 +0000 (14:08 +0000)
committerJeff King <peff@peff.net>
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 <gitter.spiros@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Jeff King <peff@peff.net>
ident.c