mwan3: only update src_iface rules on ifup
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
This commit is contained in:
parent
c8deccc0e7
commit
189f92da4a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue