1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Force correction of MTU previous issue

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-03-05 08:16:31 +01:00
parent 23ce6c02e7
commit f4ba68e319

View file

@ -125,6 +125,7 @@ interface_multipath_settings() {
else
metric="$(uci -q get openmptcprouter.${config}.metric)"
fi
[ "$metric" -gt 9900 ] && metric=$((metric-9000))
if [ "${config}" = "lan" ] || [ "$(uci -q get network.${config}.ip4table)" = "lan" ]; then
metric="9999"
fi