summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-07-17 15:10:16 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-07-17 15:10:16 +0000
commit832374b1998159c585415cb8069d5b8a79806eeb (patch)
tree5ecb95c42025edb67d26cf66514ff08f1cd48e8d /etc
parent7136f1532249299b8a2eb660be395e2dfd053260 (diff)
use getaddrinfo/getnameinfo to parse ipv6 addresses instead of
inet_pton/inet_ntop to allow specifing and printing the IPv6 scope identifier. synced host_v6() with ntpd's version to use getaddrinfo() instead of inet_pton() - host_v4, host_v6, and host_dns could all use getaddrinfo in a single function by specifing different flags but this would diverge from the other daemons using this common interface so we keep this little overhead. discussed with henning@ ok pyr@
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions