mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Fix previous multipath fix to remove if* interfaces
This commit is contained in:
parent
c67d378688
commit
d4d03aee79
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue