- Don't try to send RA to lo0, gifN and faithN.

- ipv6_network_interfaces has all available interfaces to work for
  static configuration even if the host is end host.  When rtsol is
  invoked, singleness of interface is checked.
This commit is contained in:
Hajimu UMEMOTO 2001-01-25 13:18:26 +00:00
parent 8b32114bd4
commit aa5faffa26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71638
2 changed files with 10 additions and 38 deletions

View file

@ -91,24 +91,10 @@ network6_pass1() {
case ${ipv6_network_interfaces} in
[Aa][Uu][Tt][Oo])
case ${ipv6_gateway_enable} in
[Yy][Ee][Ss])
#
# list of interfaces, and prefix for interfaces
#
ipv6_network_interfaces="`ifconfig -l`"
;;
*)
#
# manual configurations - in case ip6_gateway_enable=NO
# you can configure only single interface,
# as specification assumes that
# autoconfigured host has single interface only.
#
set `ifconfig -l`
ipv6_network_interfaces="$1"
;;
esac
#
# list of interfaces, and prefix for interfaces
#
ipv6_network_interfaces="`ifconfig -l`"
;;
esac
@ -211,7 +197,7 @@ network6_pass1() {
'')
for i in ${ipv6_network_interfaces}; do
case $i in
stf*)
lo0|gif*|stf*|faith*)
continue
;;
*)

View file

@ -91,24 +91,10 @@ network6_pass1() {
case ${ipv6_network_interfaces} in
[Aa][Uu][Tt][Oo])
case ${ipv6_gateway_enable} in
[Yy][Ee][Ss])
#
# list of interfaces, and prefix for interfaces
#
ipv6_network_interfaces="`ifconfig -l`"
;;
*)
#
# manual configurations - in case ip6_gateway_enable=NO
# you can configure only single interface,
# as specification assumes that
# autoconfigured host has single interface only.
#
set `ifconfig -l`
ipv6_network_interfaces="$1"
;;
esac
#
# list of interfaces, and prefix for interfaces
#
ipv6_network_interfaces="`ifconfig -l`"
;;
esac
@ -211,7 +197,7 @@ network6_pass1() {
'')
for i in ${ipv6_network_interfaces}; do
case $i in
stf*)
lo0|gif*|stf*|faith*)
continue
;;
*)