diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-07-17 15:10:16 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-07-17 15:10:16 +0000 |
commit | 832374b1998159c585415cb8069d5b8a79806eeb (patch) | |
tree | 5ecb95c42025edb67d26cf66514ff08f1cd48e8d /lib/libm | |
parent | 7136f1532249299b8a2eb660be395e2dfd053260 (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 'lib/libm')
0 files changed, 0 insertions, 0 deletions