summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2020-04-16 18:05:51 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-16 18:06:55 -0700
commite7dcd942acacc1f326817f5148bc41455ef1cd1d (patch)
tree40239db4bfd0d45d0e62513620f480fa7e89683a /pkg/tcpip/link
parent3b05f576d73be644daa17203d9ed64481c45b4a8 (diff)
Properly delegate Wait
PiperOrigin-RevId: 306959393
Diffstat (limited to 'pkg/tcpip/link')
-rw-r--r--pkg/tcpip/link/sniffer/sniffer.go2
1 files changed, 1 insertions, 1 deletions
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.