mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
The rtsol must be done before the alias processing.
PR: conf/31366 Submitted by: gshapiro MFC after: 1 week
This commit is contained in:
parent
86ccd13850
commit
12b3cd1783
2 changed files with 24 additions and 18 deletions
|
|
@ -320,15 +320,6 @@ network6_interface_setup() {
|
|||
rtsol_interface=no
|
||||
ifconfig $i inet6 ${ipv6_ifconfig} alias
|
||||
fi
|
||||
alias=0
|
||||
while : ; do
|
||||
eval ipv6_ifconfig=\$ipv6_ifconfig_${i}_alias${alias}
|
||||
if [ -z "${ipv6_ifconfig}" ]; then
|
||||
break;
|
||||
fi
|
||||
ifconfig $i inet6 ${ipv6_ifconfig} alias
|
||||
alias=$((${alias} + 1))
|
||||
done
|
||||
|
||||
if [ ${rtsol_available} = yes -a ${rtsol_interface} = yes ]
|
||||
then
|
||||
|
|
@ -354,6 +345,18 @@ network6_interface_setup() {
|
|||
ifconfig $1 up
|
||||
rtsol $1
|
||||
fi
|
||||
|
||||
for i in $interfaces; do
|
||||
alias=0
|
||||
while : ; do
|
||||
eval ipv6_ifconfig=\$ipv6_ifconfig_${i}_alias${alias}
|
||||
if [ -z "${ipv6_ifconfig}" ]; then
|
||||
break;
|
||||
fi
|
||||
ifconfig $i inet6 ${ipv6_ifconfig} alias
|
||||
alias=$((${alias} + 1))
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
network6_stf_setup() {
|
||||
|
|
|
|||
|
|
@ -320,15 +320,6 @@ network6_interface_setup() {
|
|||
rtsol_interface=no
|
||||
ifconfig $i inet6 ${ipv6_ifconfig} alias
|
||||
fi
|
||||
alias=0
|
||||
while : ; do
|
||||
eval ipv6_ifconfig=\$ipv6_ifconfig_${i}_alias${alias}
|
||||
if [ -z "${ipv6_ifconfig}" ]; then
|
||||
break;
|
||||
fi
|
||||
ifconfig $i inet6 ${ipv6_ifconfig} alias
|
||||
alias=$((${alias} + 1))
|
||||
done
|
||||
|
||||
if [ ${rtsol_available} = yes -a ${rtsol_interface} = yes ]
|
||||
then
|
||||
|
|
@ -354,6 +345,18 @@ network6_interface_setup() {
|
|||
ifconfig $1 up
|
||||
rtsol $1
|
||||
fi
|
||||
|
||||
for i in $interfaces; do
|
||||
alias=0
|
||||
while : ; do
|
||||
eval ipv6_ifconfig=\$ipv6_ifconfig_${i}_alias${alias}
|
||||
if [ -z "${ipv6_ifconfig}" ]; then
|
||||
break;
|
||||
fi
|
||||
ifconfig $i inet6 ${ipv6_ifconfig} alias
|
||||
alias=$((${alias} + 1))
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
network6_stf_setup() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue