diff options
author | Kevin Krakauer <krakauer@google.com> | 2020-09-29 22:39:37 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-29 22:41:47 -0700 |
commit | 0aae51c6e09046e56f2d4b6064124da059731286 (patch) | |
tree | d3b972bcd4c6551827161db204fee01f5e2dc239 /pkg/tcpip/stack/conntrack.go | |
parent | e5ece9aea730c105ab336e6bd2858322686a5708 (diff) |
iptables: remove unused min/max NAT range fields
PiperOrigin-RevId: 334531794
Diffstat (limited to 'pkg/tcpip/stack/conntrack.go')
-rw-r--r-- | pkg/tcpip/stack/conntrack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/stack/conntrack.go b/pkg/tcpip/stack/conntrack.go index 836682ea0..91ae7dafc 100644 --- a/pkg/tcpip/stack/conntrack.go +++ b/pkg/tcpip/stack/conntrack.go @@ -281,8 +281,8 @@ func (ct *ConnTrack) insertRedirectConn(pkt *PacketBuffer, hook Hook, rt Redirec // rule. This tuple will be used to manipulate the packet in // handlePacket. replyTID := tid.reply() - replyTID.srcAddr = rt.MinIP - replyTID.srcPort = rt.MinPort + replyTID.srcAddr = rt.Addr + replyTID.srcPort = rt.Port var manip manipType switch hook { case Prerouting: |