mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Merge pull request #352 from Ysurac/develop
Fix previous multipath fix to remove if* interfaces
This commit is contained in:
commit
2e6012b4b1
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