Merge host_v{4,6}() into simpler host_ip()
authorkn <kn@openbsd.org>
Mon, 10 Sep 2018 20:53:53 +0000 (20:53 +0000)
committerkn <kn@openbsd.org>
Mon, 10 Sep 2018 20:53:53 +0000 (20:53 +0000)
commit1b6fdc2f2464962c6f3ffa25c8df848f1594c8ec
tree60d0287e9347541f651c9e6aa53ca89d34a7b416
parentf5fd41404eb13b077b472349769144860471d3a4
Merge host_v{4,6}() into simpler host_ip()

Except for networks such as "10/8" host_ip() now handles addresses in an
AF-agnostic way with more duplicate code removed/merged.

OK sashan (as for earlier copy_satopfaddr() diff) henning
sbin/pfctl/pfctl_parser.c