diff --git a/src/core/netif.c b/src/core/netif.c index c3245de6..87693a61 100644 --- a/src/core/netif.c +++ b/src/core/netif.c @@ -306,7 +306,7 @@ void netif_set_up(struct netif *netif) * to spontaneously cause other nodes to update an entry in their * ARP cache. From RFC 3220 "IP Mobility Support for IPv4" section 4.6. */ - if ((netif->flags & NETIF_FLAG_ETHARP) == 0) { + if (netif->flags & NETIF_FLAG_ETHARP) { etharp_query(netif, &(netif->ip_addr), NULL); } #endif /* LWIP_ARP */