From: mpi Date: Wed, 14 Feb 2018 08:42:22 +0000 (+0000) Subject: Make sure lo5 is tied to rdomain 5. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=98f3445f376b05c2dd282d09cca8841af0d72d9c;p=openbsd Make sure lo5 is tied to rdomain 5. --- 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