Simplify address family handling, ditch inet_ntop(3)
authorkn <kn@openbsd.org>
Tue, 16 Nov 2021 16:37:52 +0000 (16:37 +0000)
committerkn <kn@openbsd.org>
Tue, 16 Nov 2021 16:37:52 +0000 (16:37 +0000)
commit76dc41f4663f875d94c0742c419b9e196d263f6c
tree6ce54e0359cb4ebc9d67b447a8d7bb760a29acf4
parente11bea027a7e765be26eb0828e6164d3208b0d93
Simplify address family handling, ditch inet_ntop(3)

Reduce duplicate code and use getnameinfo(3) for IPv4 as well.

This commit is the equivalent of sbin/resolvd/resolvd.c revision 1.21
"Simplify address family handling, ditch inet_ntop(3)".

OK florian
sbin/unwind/resolver.c