added comment, fixed coding style

This commit is contained in:
goldsimon 2016-05-23 09:47:14 +02:00
parent ac21a5f370
commit bd177ff38f
2 changed files with 7 additions and 1 deletions

View File

@ -1843,6 +1843,11 @@ nd6_reachability_hint(const ip6_addr_t * ip6addr)
} }
#endif /* LWIP_ND6_TCP_REACHABILITY_HINTS */ #endif /* LWIP_ND6_TCP_REACHABILITY_HINTS */
/**
* Remove all prefix, neighbor_cache and router entries of the specified netif.
*
* @param netif points to a network interface
*/
void void
nd6_cleanup_netif(struct netif * netif) nd6_cleanup_netif(struct netif * netif)
{ {

View File

@ -585,7 +585,8 @@ etharp_remove_static_entry(const ip4_addr_t *ipaddr)
* *
* @param netif points to a network interface * @param netif points to a network interface
*/ */
void etharp_cleanup_netif(struct netif *netif) void
etharp_cleanup_netif(struct netif *netif)
{ {
u8_t i; u8_t i;