summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/iptables_targets.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-23 16:43:07 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-23 16:43:07 +0000
commit5f3e592e75b82b5affdf02ca5fb34f9f7877bbf6 (patch)
tree90c6501ed6a7fa68f52f7c7208f0394268981b5c /pkg/tcpip/stack/iptables_targets.go
parent56320a279e7675bbd96f6276f1036177b99b66bc (diff)
parent36257e6b7bf366ec65f3145d21acfe88422a2aae (diff)
Merge release-20200622.1-191-g36257e6b7 (automated)
Diffstat (limited to 'pkg/tcpip/stack/iptables_targets.go')
-rw-r--r--pkg/tcpip/stack/iptables_targets.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/iptables_targets.go b/pkg/tcpip/stack/iptables_targets.go
index d43f60c67..dc88033c7 100644
--- a/pkg/tcpip/stack/iptables_targets.go
+++ b/pkg/tcpip/stack/iptables_targets.go
@@ -153,7 +153,7 @@ func (rt RedirectTarget) Action(pkt *PacketBuffer, ct *ConnTrack, hook Hook, gso
// Set up conection for matching NAT rule. Only the first
// packet of the connection comes here. Other packets will be
// manipulated in connection tracking.
- if conn := ct.createConnFor(pkt, hook, rt); conn != nil {
+ if conn := ct.insertRedirectConn(pkt, hook, rt); conn != nil {
ct.handlePacket(pkt, hook, gso, r)
}
default: