From: Michał Kępień Date: Mon, 16 Jul 2018 06:51:20 +0000 (+0200) Subject: Do not replace lo0 address on Solaris X-Git-Tag: v9.13.3~104^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=618921902aafd17bd11c7ae91628866c206695f2;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/tests/system/ifconfig.sh b/bin/tests/system/ifconfig.sh index ed454172149..ec9993fd346 100755 --- a/bin/tests/system/ifconfig.sh +++ b/bin/tests/system/ifconfig.sh @@ -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 \