mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
Fix on NETIF_FLAG_ETHARP test (test inverted)
This commit is contained in:
parent
5368a760cf
commit
4208bcd8d1
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user