diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-07-23 09:38:51 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-23 09:38:51 -0700 |
commit | 36257e6b7bf366ec65f3145d21acfe88422a2aae (patch) | |
tree | 0dda37c84affc7793abc6ba1c5e1fa34f34ef93a /pkg/tcpip/stack/iptables_targets.go | |
parent | 14839e027f5310346718aea385cea5e45f017170 (diff) | |
parent | 89bd71c942146f9a77aabab8bc832ec5c3912d6b (diff) |
Merge pull request #2895 from kevinGC:outbound-conntrack
PiperOrigin-RevId: 322803359
Diffstat (limited to 'pkg/tcpip/stack/iptables_targets.go')
-rw-r--r-- | pkg/tcpip/stack/iptables_targets.go | 2 |
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: |