Signed-off-by: Antonio Quartulli <a...@unstable.cc>
---

- tested with buildbot

 tests/t_net.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/t_net.sh b/tests/t_net.sh
index 8f1bc361..c67c3df2 100755
--- a/tests/t_net.sh
+++ b/tests/t_net.sh
@@ -33,15 +33,13 @@ LAST_STATE=$((${#GET_STATE[@]} - 1))
 reload_dummy()
 {
     $RUN_SUDO ip link del $IFACE
-    $RUN_SUDO ip link add $IFACE type dummy
+    $RUN_SUDO ip link add $IFACE address 00:11:22:33:44:55 type dummy
     $RUN_SUDO ip link set dev $IFACE state up
 
     if [ $? -ne 0 ]; then
         echo "can't create interface $IFACE"
         exit 1
     fi
-
-    $RUN_SUDO ip link set dev $IFACE address 00:11:22:33:44:55
 }
 
 run_test()
-- 
2.26.2



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to