mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
test_etharp.c: IANA_HWTYPE_ETHERNET -> LWIP_IANA_HWTYPE_ETHERNET
This commit is contained in:
parent
ae7c76c773
commit
145d6ab5d2
@ -90,7 +90,7 @@ create_arp_response(ip4_addr_t *adr)
|
|||||||
ethhdr->src = test_ethaddr2;
|
ethhdr->src = test_ethaddr2;
|
||||||
ethhdr->type = htons(ETHTYPE_ARP);
|
ethhdr->type = htons(ETHTYPE_ARP);
|
||||||
|
|
||||||
etharphdr->hwtype = htons(IANA_HWTYPE_ETHERNET);
|
etharphdr->hwtype = htons(LWIP_IANA_HWTYPE_ETHERNET);
|
||||||
etharphdr->proto = htons(ETHTYPE_IP);
|
etharphdr->proto = htons(ETHTYPE_IP);
|
||||||
etharphdr->hwlen = ETHARP_HWADDR_LEN;
|
etharphdr->hwlen = ETHARP_HWADDR_LEN;
|
||||||
etharphdr->protolen = sizeof(ip4_addr_t);
|
etharphdr->protolen = sizeof(ip4_addr_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user