mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
mwan3: fix interface-bound traffic when interface is offline
This is a backport of66406f9to LEDE 17.01 and replaces hotfix282e900. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user