diff options
author | Kevin Krakauer <krakauer@google.com> | 2020-09-30 12:21:01 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-30 12:22:58 -0700 |
commit | b49a17fc3d33068a1235d97efd8cc8bc9f0f3ccf (patch) | |
tree | 0a4128fbb69e439cc6909ef3b6eedac4f378538c /pkg/tcpip/stack/conntrack.go | |
parent | 299e5d6e4035d0792dd06562d6b495a85797db87 (diff) |
Make all Target.Action implementation pointer receivers
PiperOrigin-RevId: 334652998
Diffstat (limited to 'pkg/tcpip/stack/conntrack.go')
-rw-r--r-- | pkg/tcpip/stack/conntrack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/conntrack.go b/pkg/tcpip/stack/conntrack.go index 91ae7dafc..457f0c89b 100644 --- a/pkg/tcpip/stack/conntrack.go +++ b/pkg/tcpip/stack/conntrack.go @@ -268,7 +268,7 @@ func (ct *ConnTrack) connForTID(tid tupleID) (*conn, direction) { return nil, dirOriginal } -func (ct *ConnTrack) insertRedirectConn(pkt *PacketBuffer, hook Hook, rt RedirectTarget) *conn { +func (ct *ConnTrack) insertRedirectConn(pkt *PacketBuffer, hook Hook, rt *RedirectTarget) *conn { tid, err := packetToTupleID(pkt) if err != nil { return nil |