fixed bug #34684: Clear the arp table cache when netif is brought down

This commit is contained in:
goldsimon
2011-11-22 21:44:28 +01:00
parent 96d332e234
commit 08b497faea
4 changed files with 27 additions and 2 deletions

View File

@@ -191,6 +191,7 @@ err_t etharp_request(struct netif *netif, ip_addr_t *ipaddr);
* nodes to update an entry in their ARP cache.
* From RFC 3220 "IP Mobility Support for IPv4" section 4.6. */
#define etharp_gratuitous(netif) etharp_request((netif), &(netif)->ip_addr)
void etharp_cleanup_netif(struct netif *netif);
#if ETHARP_SUPPORT_STATIC_ENTRIES
err_t etharp_add_static_entry(ip_addr_t *ipaddr, struct eth_addr *ethaddr);