From 618921902aafd17bd11c7ae91628866c206695f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Mon, 16 Jul 2018 08:51:20 +0200 Subject: [PATCH] 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. --- bin/tests/system/ifconfig.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/ifconfig.sh b/bin/tests/system/ifconfig.sh index ed45417214..ec9993fd34 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 \