aboutsummaryrefslogtreecommitdiff
path: root/net/mwan3/files
diff options
context:
space:
mode:
authorAaron Goodman <aaronjg@stanford.edu>2020-09-01 19:20:41 -0400
committerAaron Goodman <aaronjg@stanford.edu>2020-10-16 09:54:48 -0400
commit189f92da4af7d6c4ea9bc683d4a871f202a562c7 (patch)
tree46bd06d405099ca02d17b1874ea57f52eddf94cc /net/mwan3/files
parentc8deccc0e70d0d872d2dfc791c1fffcbe5ec645e (diff)
mwan3: only update src_iface rules on ifup
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Diffstat (limited to 'net/mwan3/files')
-rw-r--r--net/mwan3/files/etc/hotplug.d/iface/15-mwan32
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3
index 586dfc1f6..196b03257 100644
--- a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3
+++ b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3
@@ -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