Fix on NETIF_FLAG_ETHARP test (test inverted)

This commit is contained in:
fbernon 2007-03-30 09:25:41 +00:00
parent 5368a760cf
commit 4208bcd8d1

View File

@ -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 */