Replace the last few print_host() calls with print_addr() ones.
authorclaudio <claudio@openbsd.org>
Wed, 14 Jun 2023 14:09:29 +0000 (14:09 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 14 Jun 2023 14:09:29 +0000 (14:09 +0000)
commitd58c17666c14fd82a797053aa19a55e6ec2f6f66
treeaf9feaaeae2de83564123ee96c7e1a17b56a3d8d
parent793984b26894fd79a35801a3a6ad4743b7a4e737
Replace the last few print_host() calls with print_addr() ones.

In most cases print_host(addr, buf, buflen) can be replaced with
strlcpy(buf, print_addr(addr), buflen).
Some code was never fully adjusted to the full power of print_host() and
there are remnants of times well before print_host() supported multiple
internal buffers.
With and OK tb@
sbin/iked/ikev2.c
sbin/iked/ikev2_pld.c
sbin/iked/parse.y