diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-02-01 20:21:37 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-01 20:21:37 +0000 |
commit | e82d147017378b3114f1394df47242e27daeb5fd (patch) | |
tree | b1591daa96e70aceb285f014125ad5eceede13e9 /pkg/tcpip/transport/icmp | |
parent | e04f4bfef606ec8297223456eaa80fc1ee9d780e (diff) | |
parent | ebd3912c0f7e4255f100a00d2ab27304dac70daa (diff) |
Merge release-20210125.0-47-gebd3912c0 (automated)
Diffstat (limited to 'pkg/tcpip/transport/icmp')
-rw-r--r-- | pkg/tcpip/transport/icmp/endpoint.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/tcpip/transport/icmp/endpoint.go b/pkg/tcpip/transport/icmp/endpoint.go index 3cf05520d..f5e1a6e45 100644 --- a/pkg/tcpip/transport/icmp/endpoint.go +++ b/pkg/tcpip/transport/icmp/endpoint.go @@ -778,9 +778,8 @@ func (e *endpoint) HandlePacket(id stack.TransportEndpointID, pkt *stack.PacketB } } -// HandleControlPacket implements stack.TransportEndpoint.HandleControlPacket. -func (e *endpoint) HandleControlPacket(typ stack.ControlType, extra uint32, pkt *stack.PacketBuffer) { -} +// HandleError implements stack.TransportEndpoint. +func (*endpoint) HandleError(stack.TransportError, *stack.PacketBuffer) {} // State implements tcpip.Endpoint.State. The ICMP endpoint currently doesn't // expose internal socket state. |