mwan3: fix interface-bound traffic when interface is offline

This is a backport of 66406f9 to LEDE 17.01 and replaces hotfix 282e900.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
This commit is contained in:
Marcin Jurkowski
2017-09-03 00:56:09 +02:00
parent d61bf45c3c
commit 4739584c24
4 changed files with 28 additions and 13 deletions
+1 -1
View File
@@ -46,7 +46,6 @@ ifdown()
kill $(cat /var/run/mwan3track-$1.pid)
rm /var/run/mwan3track-$1.pid
fi
mwan3_delete_iface_iptables $1
}
ifup()
@@ -166,6 +165,7 @@ stop()
done
mwan3_lock_clean
rm -rf $MWAN3_STATUS_DIR
}
restart() {