diff options
author | 2008-07-17 15:10:14 +0000 | |
---|---|---|
committer | 2008-07-17 15:10:14 +0000 | |
commit | 676eb00ea56ed2f0d1f5e8d9b88459efcc2e0e30 (patch) | |
tree | 3a78afb3fdd723c21cb1097875a9c37f45ed3d0f /lib/libm/noieee_src | |
parent | Remove clause 3 from NetBSD license. (diff) | |
download | wireguard-openbsd-676eb00ea56ed2f0d1f5e8d9b88459efcc2e0e30.tar.xz wireguard-openbsd-676eb00ea56ed2f0d1f5e8d9b88459efcc2e0e30.zip |
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/noieee_src')
0 files changed, 0 insertions, 0 deletions