From 4fee61c6b4c82d1f2d442deb399fa113494da959 Mon Sep 17 00:00:00 2001 From: ume Date: Thu, 19 Jul 2001 12:37:22 +0000 Subject: - Avoid to select an interface which is not good for RA/RS. Submitted by: sakane@kame.net - Avoid to select lo0 or faith for a default interface. --- etc/rc.network6 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'etc/rc.network6') diff --git a/etc/rc.network6 b/etc/rc.network6 index aa8d6a2..d1d8e09 100644 --- a/etc/rc.network6 +++ b/etc/rc.network6 @@ -197,7 +197,7 @@ network6_pass1() { '') for i in ${ipv6_network_interfaces}; do case $i in - lo0|gif*|stf*|faith*) + lo0|gif*|stf*|faith*|lp[012]|sl[012]|tun[012]) continue ;; *) @@ -302,7 +302,7 @@ network6_interface_setup() { if [ ${rtsol_available} = yes -a ${rtsol_interface} = yes ] then case ${i} in - lo0|gif*|stf*|faith*) + lo0|gif*|stf*|faith*|lp[012]|sl[012]|tun[012]) ;; *) rtsol_interfaces="${rtsol_interfaces} ${i}" @@ -423,6 +423,11 @@ network6_default_interface_setup() { case ${ipv6_default_interface} in '') for i in ${ipv6_network_interfaces}; do + case $i in + lo0|faith*) + continue + ;; + esac laddr=`network6_getladdr $i exclude_tentative` case ${laddr} in '') -- cgit v1.1