summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/nat.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-11 18:17:20 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-11 18:17:20 -0700
commita9c6135ed73c99686a6de1d7160dc874dd0ab5ca (patch)
tree5f9a795855b666e4cbbdee00ba4f6ca2042599a9 /test/iptables/nat.go
parent81675b850e27ea9d6c853a73bd667fc16901a5e8 (diff)
parent4054b021f05cb0902e9877ba82403978fd8d6405 (diff)
Merge pull request #2108 from kevinGC:prepare-ipt-tests
PiperOrigin-RevId: 300449422
Diffstat (limited to 'test/iptables/nat.go')
-rw-r--r--test/iptables/nat.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/iptables/nat.go b/test/iptables/nat.go
index 899d1c9d3..6ca6b46ca 100644
--- a/test/iptables/nat.go
+++ b/test/iptables/nat.go
@@ -76,7 +76,7 @@ func (NATRedirectTCPPort) ContainerAction(ip net.IP) error {
// LocalAction implements TestCase.LocalAction.
func (NATRedirectTCPPort) LocalAction(ip net.IP) error {
- return connectTCP(ip, dropPort, acceptPort, sendloopDuration)
+ return connectTCP(ip, dropPort, sendloopDuration)
}
// NATDropUDP tests that packets are not received in ports other than redirect port.