mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 17:17:22 -04:00
MacOS needs more IP addresses to run the system tests
The launchd script only counted up to 8 whereas ifconfig.sh went all
the way up to 10, and even a bit further than that.
(cherry picked from commit 29a3e77425)
This commit is contained in:
parent
83b7563111
commit
541222043d
1 changed files with 12 additions and 3 deletions
|
|
@ -11,8 +11,17 @@
|
|||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
for ns in 1 2 3 4 5 6 7 8
|
||||
ifup() {
|
||||
/sbin/ifconfig lo0 10.53.$1.$3 alias
|
||||
/sbin/ifconfig lo0 inet6 fd92:7065:b8e:${2}ff::${3} alias
|
||||
}
|
||||
|
||||
for ns in 1 2 3 4 5 6 7 8 9 10
|
||||
do
|
||||
/sbin/ifconfig lo0 10.53.0.$ns alias
|
||||
/sbin/ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns alias
|
||||
ifup 0 ff $ns
|
||||
done
|
||||
for ns in 1 2
|
||||
do
|
||||
ifup 1 99 $ns
|
||||
ifup 2 00 $ns
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue