Do not replace lo0 address on Solaris

lo0 and lo0:0 are the same interface on Solaris.  Make sure
bin/tests/system/ifconfig.sh does not touch lo0:0 in order to prevent it
from changing the address of the loopback interface on Solaris.
This commit is contained in:
Michał Kępień 2018-07-16 08:51:20 +02:00
parent 229dfb5dc8
commit 618921902a

View file

@ -76,7 +76,7 @@ case "$1" in
for ns in 1 2 3 4 5 6 7 8
do
[ $i -gt 0 -a $ns -gt 2 ] && break
int=`expr $i \* 10 + $ns - 1`
int=`expr $i \* 10 + $ns`
case "$sys" in
*-pc-solaris2.5.1)
ifconfig lo0:$int 10.53.$i.$ns \