aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.network6
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2001-04-26 17:33:37 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2001-04-26 17:33:37 +0000
commit4f34d18339b103567897ee2e0dafbb3d38a11cef (patch)
treecfb77af3d67dd2103b950cded20dd7520b4dbca6 /etc/rc.network6
parentf2b95b20dc3edfed587ca64b0a1592ee6c475809 (diff)
downloadsrc-4f34d18339b103567897ee2e0dafbb3d38a11cef.tar.gz
src-4f34d18339b103567897ee2e0dafbb3d38a11cef.zip
Enable static IPv6 address assignment on PCMCIA NIC.
PR: conf/26633
Notes
Notes: svn path=/head/; revision=76045
Diffstat (limited to 'etc/rc.network6')
-rw-r--r--etc/rc.network65
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.network6 b/etc/rc.network6
index 6b47af8a4e26..30de630a1b52 100644
--- a/etc/rc.network6
+++ b/etc/rc.network6
@@ -129,7 +129,7 @@ network6_pass1() {
network6_gif_setup
# setting up interfaces
- network6_interface_setup
+ network6_interface_setup $ipv6_network_interfaces
# wait for DAD's completion (for global addrs)
sleep `sysctl -n net.inet6.ip6.dad_count`
@@ -251,6 +251,7 @@ network6_pass1() {
}
network6_interface_setup() {
+ interfaces=$*
rtsol_interfaces=''
case ${ipv6_gateway_enable} in
[Yy][Ee][Ss])
@@ -261,7 +262,7 @@ network6_interface_setup() {
prefixcmd_enable=NO
;;
esac
- for i in $ipv6_network_interfaces; do
+ for i in $interfaces; do
rtsol_interface=yes
eval prefix=\$ipv6_prefix_$i
if [ -n "${prefix}" ]; then