mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-13 10:57:55 +08:00
This commit is contained in:
1 parent
c7bafc635d
commit
c71da84035
264 files changed
+8169
-3944
No files matched your search
@@ -321,7 +321,11 @@ EOF
|
||||
done
|
||||
fi
|
||||
[ -n "$endpoint" ] && RMID=$(echo "${endpoint}" | grep '::ffff' | awk '{ print $3 }')
|
||||
[ -n "$RMID" ] && ip mptcp endpoint delete id $RMID >/dev/null 2>&1
|
||||
# One id per call: "delete id 3 4" is a syntax error for ip, so
|
||||
# with two such endpoints neither was removed
|
||||
for i in $RMID; do
|
||||
ip mptcp endpoint delete id $i >/dev/null 2>&1
|
||||
done
|
||||
fi
|
||||
case $TYPE in
|
||||
"off")
|
||||
|
||||
Reference in new issue
Block a user