summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/sniffer
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-09-20 21:12:38 +0000
committergVisor bot <gvisor-bot@google.com>2019-09-20 21:12:38 +0000
commit6aff7497a5bafa21b693f8affc07091b21f67d13 (patch)
tree2f21f6ddfe70def59d7b5cca1d159192311efcc7 /pkg/tcpip/link/sniffer
parent8fe1a00617f99318bf253956d20313807fb6d851 (diff)
parent002f1d4aaefa9abdd50e3e8906ae828c31d038e6 (diff)
Merge release-20190806.1-164-g002f1d4 (automated)
Diffstat (limited to 'pkg/tcpip/link/sniffer')
-rw-r--r--pkg/tcpip/link/sniffer/sniffer.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/tcpip/link/sniffer/sniffer.go b/pkg/tcpip/link/sniffer/sniffer.go
index e7b6d7912..e401dce44 100644
--- a/pkg/tcpip/link/sniffer/sniffer.go
+++ b/pkg/tcpip/link/sniffer/sniffer.go
@@ -240,6 +240,9 @@ func (e *endpoint) WritePacket(r *stack.Route, gso *stack.GSO, hdr buffer.Prepen
return e.lower.WritePacket(r, gso, hdr, payload, protocol)
}
+// Wait implements stack.LinkEndpoint.Wait.
+func (*endpoint) Wait() {}
+
func logPacket(prefix string, protocol tcpip.NetworkProtocolNumber, b buffer.View, gso *stack.GSO) {
// Figure out the network layer info.
var transProto uint8