]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Make ifconfig.sh work on DragonFly BSD
authorMichał Kępień <michal@isc.org>
Mon, 3 Jun 2019 12:13:23 +0000 (14:13 +0200)
committerMichał Kępień <michal@isc.org>
Mon, 3 Jun 2019 12:13:23 +0000 (14:13 +0200)
On DragonFly BSD, use the same commands for configuring network
interfaces used during system tests as on NetBSD and OpenBSD.

bin/tests/system/ifconfig.sh

index aab6eb534bc50cd616a2deefc536ea438613494b..fe410ecd5aedf232a0a4b844dd82afdff8333385 100755 (executable)
@@ -92,13 +92,7 @@ case "$1" in
                                [ "$ipv6" ] && ifconfig lo0 inet6 \
                                        fd92:7065:b8e:${ipv6}ff::$ns alias
                                ;;
-                           *-unknown-netbsd*)
-                               ifconfig lo0 10.53.$i.$ns alias \
-                                       netmask 255.255.255.0
-                               [ "$ipv6" ] && ifconfig lo0 inet6 \
-                                       fd92:7065:b8e:${ipv6}ff::$ns alias
-                               ;;
-                           *-unknown-openbsd*)
+                           *-unknown-dragonfly*|*-unknown-netbsd*|*-unknown-openbsd*)
                                ifconfig lo0 10.53.$i.$ns alias \
                                        netmask 255.255.255.0
                                [ "$ipv6" ] && ifconfig lo0 inet6 \