From 777d54f0e4290a7c09cf064e1a74df92ec6f9d62 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Wed, 18 Jan 2017 13:43:01 +0100 Subject: [PATCH] Retry 1 to fix bug #50064 Accidentally used the wrong destination HW addr (cherry picked from commit 645ca84704db70f6dd29aefdec7bfbf6d9fc01f4) --- src/core/ipv4/etharp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ipv4/etharp.c b/src/core/ipv4/etharp.c index 35af8559..adbd8bc2 100644 --- a/src/core/ipv4/etharp.c +++ b/src/core/ipv4/etharp.c @@ -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);