mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Deleting an HSCI interface, the connected HiperSockets interface's name and the connected Ethernet interface's name are extracted from "ip link show". Currently the extracted names are directly used in "bridge -d link show dev ifname" for further checking. If "iflink" and "ifindex" of an interface are not matched, ip commands will print @ifXX appended to the real interface's name. Thus, it will be failed if the interface's name with the ending @ifXX is used in "bridge -d link show dev ifname" for further checking. To solve the problem, the ending @ifXX must be removed before the interface name is used further. Signed-off-by: Wenjia Zhang <wenjia@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>