Make host_*() AF-agnostic
authorkn <kn@openbsd.org>
Fri, 7 Sep 2018 20:31:39 +0000 (20:31 +0000)
committerkn <kn@openbsd.org>
Fri, 7 Sep 2018 20:31:39 +0000 (20:31 +0000)
commitf8e1109c2d3bfc6dae2c950ed0800d2126af6119
tree5b74ace44b96bc7cd534934a635da3d14edad651
parentd1ecd08535a13f49737d7c8aad743507bbabb399
Make host_*() AF-agnostic

Merge host_v{4,6}() into much simpler host_ip() using just getaddrinfo().

host_dns() uses the same procedure.

OK naddy
usr.sbin/ntpd/config.c