Move duplicate code into new helper print_addr_str()
authorkn <kn@openbsd.org>
Tue, 24 Jul 2018 09:48:04 +0000 (09:48 +0000)
committerkn <kn@openbsd.org>
Tue, 24 Jul 2018 09:48:04 +0000 (09:48 +0000)
commit88d4e2f324365ab97d8f85dbcea11c62bc7426c6
tree629903d820da89f5009e8a00a59adfed41d6df31
parentda7f49d74e35e5f5d0bbef4cf1f6abbf3e00fe54
Move duplicate code into new helper print_addr_str()

This simply puts the wiggle around inet_ntop() from four into one location.

OK benno
sbin/pfctl/pf_print_state.c
sbin/pfctl/pfctl.h
sbin/pfctl/pfctl_parser.c