Merge pull request #19043 from dgibson/fix19021

pasta: Remove some leftover code from pasta bats tests
This commit is contained in:
OpenShift Merge Robot
2023-06-29 16:22:30 +02:00
committed by GitHub

View File

@ -55,12 +55,6 @@ function pasta_test_do() {
skip_if_no_ipv4 "IPv4 not routable on the host"
elif [ ${ip_ver} -eq 6 ]; then
skip_if_no_ipv6 "IPv6 not routable on the host"
if [ ${iftype} = "loopback" ]; then
local ifname="lo"
local addr="::1"
else
local addr="$(ipv6_get_addr_default)"
fi
else
skip "Unsupported IP version"
fi