summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/network/arp
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-05-28 08:04:11 -0700
committergVisor bot <gvisor-bot@google.com>2021-05-28 08:06:05 -0700
commit30bca3270b9aba3394363a7fbb81291c9b0bb898 (patch)
tree5d6bccf264189a00682760e367af31e80edb1a70 /pkg/tcpip/network/arp
parent394c6089c3b8700164756677f53314d165f8d383 (diff)
Clean up warnings
- Typos - Unused arguments - Useless conversions PiperOrigin-RevId: 376362730
Diffstat (limited to 'pkg/tcpip/network/arp')
-rw-r--r--pkg/tcpip/network/arp/arp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/network/arp/arp.go b/pkg/tcpip/network/arp/arp.go
index 0efa3a926..6515c31e5 100644
--- a/pkg/tcpip/network/arp/arp.go
+++ b/pkg/tcpip/network/arp/arp.go
@@ -278,7 +278,7 @@ func (*protocol) ParseAddresses(buffer.View) (src, dst tcpip.Address) {
return "", ""
}
-func (p *protocol) NewEndpoint(nic stack.NetworkInterface, dispatcher stack.TransportDispatcher) stack.NetworkEndpoint {
+func (p *protocol) NewEndpoint(nic stack.NetworkInterface, _ stack.TransportDispatcher) stack.NetworkEndpoint {
e := &endpoint{
protocol: p,
nic: nic,