mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 12:24:22 +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
|
* to spontaneously cause other nodes to update an entry in their
|
||||||
* ARP cache. From RFC 3220 "IP Mobility Support for IPv4" section 4.6.
|
* 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);
|
etharp_query(netif, &(netif->ip_addr), NULL);
|
||||||
}
|
}
|
||||||
#endif /* LWIP_ARP */
|
#endif /* LWIP_ARP */
|
||||||
|
Loading…
Reference in New Issue
Block a user