From f4ba68e319afa56fc81734c0a4dc92b23f7c4845 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 5 Mar 2024 08:16:31 +0100 Subject: [PATCH] Force correction of MTU previous issue --- mptcp/files/etc/init.d/mptcp | 1 + 1 file changed, 1 insertion(+) diff --git a/mptcp/files/etc/init.d/mptcp b/mptcp/files/etc/init.d/mptcp index 64a1cd6628..87e7bbe6a8 100755 --- a/mptcp/files/etc/init.d/mptcp +++ b/mptcp/files/etc/init.d/mptcp @@ -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