mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
- 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:
parent
8b32114bd4
commit
aa5faffa26
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71638
@ -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
|
||||
;;
|
||||
*)
|
||||
|
@ -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
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user