network.subr: Support IPv6 in ifconfig_getargs()
authorAaron LI <aly@aaronly.me>
Thu, 25 Oct 2018 12:11:28 +0000 (20:11 +0800)
committerAaron LI <aly@aaronly.me>
Wed, 14 Nov 2018 12:53:35 +0000 (20:53 +0800)
commit8cd2e0745d021c52ef70c667710cd638bf76cf3b
tree0f48972087be8cf98dceb11bf81a2cfcee861bce
parentfb3db81efb507524806d71ed97b18b9a6467fee3
network.subr: Support IPv6 in ifconfig_getargs()

Update the 'ifconfig_getargs()' to accept the address family option
to support the extraction of IPv6 arguments of an interface, which
is configured using 'ipv6_ifconfig_<ifname>="..."'.

Obtained from FreeBSD; but FreeBSD uses 'ifconfig_<ifname>_ipv6'.
etc/network.subr