network.subr: Add ipv6if()
authorAaron LI <aly@aaronly.me>
Thu, 25 Oct 2018 17:05:20 +0000 (01:05 +0800)
committerAaron LI <aly@aaronly.me>
Wed, 14 Nov 2018 12:53:35 +0000 (20:53 +0800)
commitda4dd5142b3aeee28a624360613a09cc38ec7319
treeefb8fde7be007aa6cc830efa98febf7bd85cdffa
parent8cd2e0745d021c52ef70c667710cd638bf76cf3b
network.subr: Add ipv6if()

This function determines whether the given interface should be
configured for IPv6.  This function will be used to determine whether to
apply DHCPv6 to an interface in the following commit.

Taken from FreeBSD, but modified to consider ${ipv6_enable}.
etc/network.subr