From 645ca84704db70f6dd29aefdec7bfbf6d9fc01f4 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 --- 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 7a6ef0bf..57ce2e4d 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);