Retry 1 to fix bug #50064

Accidentally used the wrong destination HW addr

(cherry picked from commit 645ca84704)
This commit is contained in:
Dirk Ziegelmeier 2017-01-18 13:43:01 +01:00 committed by goldsimon
parent 8c6ac8eb59
commit 777d54f0e4

View File

@ -701,7 +701,7 @@ etharp_input(struct pbuf *p, struct netif *netif)
if (for_us) {
/* send ARP response */
etharp_raw(netif,
(struct eth_addr *)netif->hwaddr, &hdr->dhwaddr,
(struct eth_addr *)netif->hwaddr, &hdr->shwaddr,
(struct eth_addr *)netif->hwaddr, netif_ip4_addr(netif),
&hdr->shwaddr, &sipaddr,
ARP_REPLY);