mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-24 06:44:21 +00:00
Force correction of MTU previous issue (#446)
This commit is contained in:
commit
d83bf9a512
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ interface_multipath_settings() {
|
||||||
else
|
else
|
||||||
metric="$(uci -q get openmptcprouter.${config}.metric)"
|
metric="$(uci -q get openmptcprouter.${config}.metric)"
|
||||||
fi
|
fi
|
||||||
|
[ "$metric" -gt 9900 ] && metric=$((metric-9000))
|
||||||
if [ "${config}" = "lan" ] || [ "$(uci -q get network.${config}.ip4table)" = "lan" ]; then
|
if [ "${config}" = "lan" ] || [ "$(uci -q get network.${config}.ip4table)" = "lan" ]; then
|
||||||
metric="9999"
|
metric="9999"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue