net/mwan3: change usleep to sleep command

fix bug use sleep instead of usleep

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2017-11-14 08:20:40 +01:00
parent 267c0eeaed
commit 3ee70a7001

View file

@ -28,7 +28,7 @@ src_ip=$(uci_get_state mwan3 globals src_ip)
ip addr del "${src_ip}/32" dev lo 1>/dev/null 2>&1
}
usleep 10000
sleep 1
[ "$ACTION" = "ifup" ] && {
network_get_ipaddr src_ip "${local_source}"