From 4208bcd8d1ac5192bf0c92db6f740ce0b3732d70 Mon Sep 17 00:00:00 2001 From: fbernon Date: Fri, 30 Mar 2007 09:25:41 +0000 Subject: [PATCH] Fix on NETIF_FLAG_ETHARP test (test inverted) --- src/core/netif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */