mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 19:54:50 +00:00
mwan3: only update src_iface rules on ifup
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
This commit is contained in:
@@ -37,7 +37,7 @@ mwan3_init
|
||||
mwan3_set_connected_${family}
|
||||
}
|
||||
|
||||
if [ "$MWAN3_STARTUP" != 1 ]; then
|
||||
if [ "$MWAN3_STARTUP" != 1 ] && [ "$ACTION" = "ifup" ]; then
|
||||
mwan3_set_user_iface_rules $INTERFACE $DEVICE
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user