peek_packet.c: do not use inet_ntop without HAVE_INET_NTOP
commit0ae8c3b66c0d754242548214ef25533aea0261db
authorKyle J. McKay <mackyle@gmail.com>
Mon, 23 Nov 2020 22:19:17 +0000 (23 15:19 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 23 Nov 2020 22:19:17 +0000 (23 15:19 -0700)
tree9760f6ee42bda75e70158ca6c76586363be384d2
parent9517c6f8486f5f07d125e5eeff6f8c7ac8d5e7c7
peek_packet.c: do not use inet_ntop without HAVE_INET_NTOP

Actually obey the HAVE_INET_NTOP configuration setting and
avoid trying to use inet_ntop unless it's defined.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
src/peek_packet.c