summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2018-02-14 08:42:23 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2018-02-14 08:42:23 +0000
commite7aff3768f831d702be3c1d44b2eef6b2065674b (patch)
tree5b385ea989dd5c04563bf835ede5d8ca5bc1f39f /regress
parentd0fb44c5790f5ae1bab2579dfcbf8e09b1ab48ac (diff)
Make sure lo5 is tied to rdomain 5.
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/route/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sbin/route/Makefile b/regress/sbin/route/Makefile
index 1394b477b10..5ee55ab0093 100644
--- a/regress/sbin/route/Makefile
+++ b/regress/sbin/route/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.26 2018/02/12 15:48:58 mpi Exp $
+# $OpenBSD: Makefile,v 1.27 2018/02/14 08:42:22 mpi Exp $
RDOMAIN?= 5
@@ -13,7 +13,7 @@ RDOMAIN?= 5
.for itf in lo10001 lo10002 lo10003 lo10004 vlan99 vether99
-${SUDO} ifconfig ${itf} destroy 2>/dev/null || true
.endfor
- -${SUDO} ifconfig lo${RDOMAIN} -inet6 down
+ -${SUDO} ifconfig lo${RDOMAIN} rdomain ${RDOMAIN} -inet6 down
-${SUDO} ifconfig lo10001 up rdomain ${RDOMAIN} 192.0.2.1/32
-${SUDO} ifconfig lo10002 up rdomain ${RDOMAIN} 192.0.2.2/32
-${SUDO} ifconfig lo10003 up rdomain ${RDOMAIN} 192.0.2.3/32