Browse Source

mwan3: only update src_iface rules on ifup

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
lilik-openwrt-22.03
Aaron Goodman 4 years ago
parent
commit
189f92da4a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/mwan3/files/etc/hotplug.d/iface/15-mwan3

+ 1
- 1
net/mwan3/files/etc/hotplug.d/iface/15-mwan3 View File

@ -37,7 +37,7 @@ mwan3_init
mwan3_set_connected_${family} mwan3_set_connected_${family}
} }
if [ "$MWAN3_STARTUP" != 1 ]; then
if [ "$MWAN3_STARTUP" != 1 ] && [ "$ACTION" = "ifup" ]; then
mwan3_set_user_iface_rules $INTERFACE $DEVICE mwan3_set_user_iface_rules $INTERFACE $DEVICE
fi fi


Loading…
Cancel
Save