INADDR_LOOPBACK check needs htonl(3) to work
authorkn <kn@openbsd.org>
Mon, 30 Aug 2021 11:09:58 +0000 (11:09 +0000)
committerkn <kn@openbsd.org>
Mon, 30 Aug 2021 11:09:58 +0000 (11:09 +0000)
commit8e654069714b571c96cf1a22c66a7af2dcfe2946
treedcb7b209feecb40a662eebc08fd42fef4bdf0c1e
parent64289ec8fd8ccac3341ac87d4c28afb36b0edfab
INADDR_LOOPBACK check needs htonl(3) to work

Found in resolvd(8) which uses the same code.
sbin/unwind/resolver.c