mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[9.20] fix: test: Fix ifconfig.sh script
Add missing test for the variable 'a' being empty on linux. Closes #5423 Backport of MR !10740 Merge branch 'backport-5423-fix-ifconfig-sh-script-9.20' into 'bind-9.20' See merge request isc-projects/bind9!10744
This commit is contained in:
commit
66ebede266
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ up() {
|
|||
[ "$aaaa" ] && ip address add $aaaa/64 dev lo
|
||||
ip link set dev lo:$int mtu 1500
|
||||
else
|
||||
ifconfig lo:$int $a up netmask 255.255.255.0 mtu 1500
|
||||
[ "$a" ] && ifconfig lo:$int $a up netmask 255.255.255.0 mtu 1500
|
||||
[ "$aaaa" ] && ifconfig lo inet6 add $aaaa/64
|
||||
fi
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue