From d4d03aee793160133144586640335d9543b872d1 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 5 Sep 2023 12:45:02 +0200 Subject: [PATCH] Fix previous multipath fix to remove if* interfaces --- mptcp/files/usr/bin/multipath | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mptcp/files/usr/bin/multipath b/mptcp/files/usr/bin/multipath index d0f1b4962..d7fa77354 100755 --- a/mptcp/files/usr/bin/multipath +++ b/mptcp/files/usr/bin/multipath @@ -132,7 +132,7 @@ if [ -f /proc/sys/net/mptcp/mptcp_enabled ]; then printf "0x%02x" $(($(($IFF^$(($IFF&$IFF_MASK))))|$FLAG)) > $FLAG_PATH else # Remove not needed if* interfaces in MPTCP - oldintfs=$(ip mptcp endpoint show | grep "dev eth" | awk '{ print $3 }') + oldintfs=$(ip mptcp endpoint show | grep "dev if" | awk '{ print $3 }') [ -n "$oldintfs" ] && { for oldintf in $oldintfs; do ip mptcp endpoint delete id $oldintf 2>&1 >/dev/null