Update network/arp/arp.go to use the ARPHardwareType of the associated NIC.
Open
area: networking
type: enhancement
- Dominant language
- Go
- Stars
- 19.3k
- Forks
- 2k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 264
Description
ARP implementation in Netstack hardcodes ARPHRD_ETHER value for the haType field of a NIC. We should make use of the ARPHardwareType() method of the NIC and use that value in the haType field of an ARP request sent from the NIC as well as expect the same value in ARP Responses.
Contributor guide
Assessment
This issue has not been assessed yet.