Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20200428131700.9123-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19832.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
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()