From e7dcd942acacc1f326817f5148bc41455ef1cd1d Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 16 Apr 2020 18:05:51 -0700 Subject: Properly delegate Wait PiperOrigin-RevId: 306959393 --- pkg/tcpip/link/sniffer/sniffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/tcpip/link/sniffer') diff --git a/pkg/tcpip/link/sniffer/sniffer.go b/pkg/tcpip/link/sniffer/sniffer.go index 03def4013..938540c14 100644 --- a/pkg/tcpip/link/sniffer/sniffer.go +++ b/pkg/tcpip/link/sniffer/sniffer.go @@ -238,7 +238,7 @@ func (e *endpoint) WriteRawPacket(vv buffer.VectorisedView) *tcpip.Error { } // Wait implements stack.LinkEndpoint.Wait. -func (*endpoint) Wait() {} +func (e *endpoint) Wait() { e.lower.Wait() } func logPacket(prefix string, protocol tcpip.NetworkProtocolNumber, b buffer.View, gso *stack.GSO) { // Figure out the network layer info. -- cgit v1.2.3