mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Disable 9998 metric set when Multipath off
This commit is contained in:
parent
3d8b9360b4
commit
a26255203e
1 changed files with 2 additions and 2 deletions
|
@ -139,8 +139,8 @@ interface_multipath_settings() {
|
|||
metric="1500"
|
||||
elif [ "${config}" = "omr6in4" ]; then
|
||||
metric="1201"
|
||||
elif [ "$(uci -q get network.${config}.multipath)" = "off" ]; then
|
||||
metric="9998"
|
||||
# elif [ "$(uci -q get network.${config}.multipath)" = "off" ]; then
|
||||
# metric="9998"
|
||||
fi
|
||||
config_set "$config" metric $metric
|
||||
uci -q set network.${config}.metric=$metric
|
||||
|
|
Loading…
Reference in a new issue