]> 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)
committerOndřej Surý <ondrej@sury.org>
Mon, 22 Jul 2019 12:09:49 +0000 (08:09 -0400)
On DragonFly BSD, use the same commands for configuring network
interfaces used during system tests as on NetBSD and OpenBSD.

(cherry picked from commit 496397eb3fbd401e99530f9f7108091fc72d6b01)

bin/tests/system/ifconfig.sh

index aedb35fd0c06b6630485ff2396d24fbadba48fa9..41b0182f809182be7f139685a24901b4a6521311 100755 (executable)
@@ -105,13 +105,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 \