summaryrefslogtreecommitdiffstats
path: root/etc/network.subr
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2010-05-04 01:46:58 +0000
committerdougb <dougb@FreeBSD.org>2010-05-04 01:46:58 +0000
commit955bde9203045e8ccb881251aaa8dd6b3b1f8fcb (patch)
treefff912563a4536eb4ada235aa1f3c208be9805a1 /etc/network.subr
parent501d94ef3e63bec25d5648e2565cfc1b931d745f (diff)
downloadFreeBSD-src-955bde9203045e8ccb881251aaa8dd6b3b1f8fcb.zip
FreeBSD-src-955bde9203045e8ccb881251aaa8dd6b3b1f8fcb.tar.gz
Make address assignment via ipv6_prefix_IF work again
Diffstat (limited to 'etc/network.subr')
-rw-r--r--etc/network.subr2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 52c99db..d0b309a 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -399,6 +399,8 @@ ipv6if()
$_if|"$_if "*|*" $_if"|*" $_if "*|[Aa][Uu][Tt][Oo])
# True if $ifconfig_IF_ipv6 is defined.
_tmpargs=`_ifconfig_getargs $_if ipv6`
+ # Also true if ipv6_prefix_IF is defined
+ [ -n "$_tmpargs" ] || _tmpargs=`get_if_var $_if ipv6_prefix_IF`
;;
esac
OpenPOWER on IntegriCloud