diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-07-15 21:19:41 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-15 21:19:41 +0000 |
commit | bb4615b663db81e5bd035c50661080d6645ac717 (patch) | |
tree | 4618e56ef3e5411174428c0dce3cf729ec888ebe /pkg/tcpip/link/loopback | |
parent | f7dca07b3a30d251c0b187ce3e600b7b3cda14e4 (diff) | |
parent | fef90c61c6186c113cfdb0bbcf53f4ca70f9741a (diff) |
Merge release-20200622.1-162-gfef90c61c (automated)
Diffstat (limited to 'pkg/tcpip/link/loopback')
-rw-r--r-- | pkg/tcpip/link/loopback/loopback.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/tcpip/link/loopback/loopback.go b/pkg/tcpip/link/loopback/loopback.go index 568c6874f..3b17d8c28 100644 --- a/pkg/tcpip/link/loopback/loopback.go +++ b/pkg/tcpip/link/loopback/loopback.go @@ -113,3 +113,8 @@ func (e *endpoint) WriteRawPacket(vv buffer.VectorisedView) *tcpip.Error { return nil } + +// ARPHardwareType implements stack.LinkEndpoint.ARPHardwareType. +func (*endpoint) ARPHardwareType() header.ARPHardwareType { + return header.ARPHardwareLoopback +} |