Merge 1364-ip-link-kernel-4.2 (PR #1504)
strip off @... from interface names returned by `ip link show`
This commit is contained in:
commit
8fe0228d4d
1 file changed
+1
-1
@@ -1605,7 +1605,7 @@ case "$COMMAND" in
|
||||
conntrack -D -p udp --dport $PORT >/dev/null 2>&1 || true
|
||||
destroy_bridge
|
||||
for LOCAL_IFNAME in $(ip link show | grep v${CONTAINER_IFNAME}pl | cut -d ' ' -f 2 | tr -d ':') ; do
|
||||
ip link del $LOCAL_IFNAME >/dev/null 2>&1 || true
|
||||
ip link del ${LOCAL_IFNAME%@*} >/dev/null 2>&1 || true
|
||||
done
|
||||
;;
|
||||
rmpeer)
|
||||
|
||||
Reference in new issue
Block a user