summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-09-30 12:21:01 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-30 12:22:58 -0700
commitb49a17fc3d33068a1235d97efd8cc8bc9f0f3ccf (patch)
tree0a4128fbb69e439cc6909ef3b6eedac4f378538c /pkg/sentry/socket
parent299e5d6e4035d0792dd06562d6b495a85797db87 (diff)
Make all Target.Action implementation pointer receivers
PiperOrigin-RevId: 334652998
Diffstat (limited to 'pkg/sentry/socket')
-rw-r--r--pkg/sentry/socket/netfilter/targets.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/socket/netfilter/targets.go b/pkg/sentry/socket/netfilter/targets.go
index 19b18b2d6..a809afeb0 100644
--- a/pkg/sentry/socket/netfilter/targets.go
+++ b/pkg/sentry/socket/netfilter/targets.go
@@ -306,7 +306,7 @@ func (jt *JumpTarget) ID() stack.TargetID {
}
// Action implements stack.Target.Action.
-func (jt JumpTarget) Action(*stack.PacketBuffer, *stack.ConnTrack, stack.Hook, *stack.GSO, *stack.Route, tcpip.Address) (stack.RuleVerdict, int) {
+func (jt *JumpTarget) Action(*stack.PacketBuffer, *stack.ConnTrack, stack.Hook, *stack.GSO, *stack.Route, tcpip.Address) (stack.RuleVerdict, int) {
return stack.RuleJump, jt.RuleNum
}