File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4001,6 +4001,9 @@ var _ = SIGDescribe("SCTP [Feature:SCTP] [LinuxOnly]", func() {
4001
4001
4002
4002
ginkgo .By ("dumping iptables rules on the node" )
4003
4003
cmd = "sudo iptables-save"
4004
+ if framework .TestContext .ClusterIsIPv6 () {
4005
+ cmd = "sudo ip6tables-save"
4006
+ }
4004
4007
framework .Logf ("Executing cmd %q on node %v" , cmd , node .Name )
4005
4008
result , err := hostExec .IssueCommandWithResult (cmd , node )
4006
4009
if err != nil {
@@ -4061,6 +4064,9 @@ var _ = SIGDescribe("SCTP [Feature:SCTP] [LinuxOnly]", func() {
4061
4064
node , err := e2enode .GetRandomReadySchedulableNode (cs )
4062
4065
framework .ExpectNoError (err )
4063
4066
cmd := "sudo iptables-save"
4067
+ if framework .TestContext .ClusterIsIPv6 () {
4068
+ cmd = "sudo ip6tables-save"
4069
+ }
4064
4070
framework .Logf ("Executing cmd %q on node %v" , cmd , node .Name )
4065
4071
result , err := hostExec .IssueCommandWithResult (cmd , node )
4066
4072
if err != nil {
You can’t perform that action at this time.
0 commit comments