Properly delegate Wait

PiperOrigin-RevId: 306959393
This commit is contained in:
Tamir Duberstein
2020-04-16 18:06:55 -07:00
committed by gVisor bot
parent 3b05f576d7
commit e7dcd942ac
+1 -1
View File
@@ -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.