🍉 Sync 2026-05-14 00:17:10

This commit is contained in:
github-actions[bot]
2026-05-14 00:17:10 +08:00
parent 0ab04d37bb
commit 1ae960772d
9 changed files with 28 additions and 7 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mptcp
PKG_VERSION:=6.1
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_MAINTAINER:=Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
+4 -1
View File
@@ -137,7 +137,7 @@ interface_max_metric() {
}
interface_multipath_settings() {
local mode iface proto metric ip4table
local mode iface proto metric ip4table qdisc
local config="$1"
local intf="$2"
local enabled uci_route
@@ -151,6 +151,7 @@ interface_multipath_settings() {
config_get enabled "$config" auto "1"
config_get txqueuelen "$config" txqueuelen
config_get qdisc "$config" qdisc
case "$iface" in *@*) iface=$(ifstatus "$config" | jsonfilter -q -e '@["device"]') ;; esac
if [ "$(uci -q get openmptcprouter.${config}.metric)" = "" ] || [ "$(uci -q get openmptcprouter.${config}.metric)" = "1" ]; then
count=$((count+1))
@@ -365,6 +366,7 @@ interface_multipath_settings() {
#ifconfig $iface txqueuelen 1000 > /dev/null 2>&1
ip link set dev $iface txqueuelen 1000 > /dev/null 2>&1
fi
tc qdisc replace dev $iface root ${qdisc:-fq} > /dev/null 2>&1
fi
if [ -z "$gateway" ] && [ -n "$network" ]; then
if [ "$uci_route" = "1" ]; then
@@ -400,6 +402,7 @@ interface_multipath_settings() {
#ifconfig $iface txqueuelen 1000 > /dev/null 2>&1
ip link set dev $iface txqueuelen 1000 > /dev/null 2>&1
fi
tc qdisc replace dev $iface root ${qdisc:-fq} > /dev/null 2>&1
fi
if [ "$(uci -q get openmptcprouter.settings.disable_ipv6)" != "1" ] && [ "$config" != "omr6in4" ]; then
# IPv6 Updates: