Skip to content

Commit

Permalink
Force correction of MTU previous issue (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan168 authored Mar 5, 2024
2 parents 6430a3a + f4ba68e commit d83bf9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mptcp/files/etc/init.d/mptcp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d83bf9a

Please sign in to comment.