From bd177ff38fffa32d1f3e3a228291ea413b446fc4 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 23 May 2016 09:47:14 +0200 Subject: [PATCH] added comment, fixed coding style --- src/core/ipv6/nd6.c | 5 +++++ src/netif/etharp.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/core/ipv6/nd6.c b/src/core/ipv6/nd6.c index 77dab940..fc85af66 100644 --- a/src/core/ipv6/nd6.c +++ b/src/core/ipv6/nd6.c @@ -1843,6 +1843,11 @@ nd6_reachability_hint(const ip6_addr_t * ip6addr) } #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 nd6_cleanup_netif(struct netif * netif) { diff --git a/src/netif/etharp.c b/src/netif/etharp.c index bf32b651..b82141dd 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -585,7 +585,8 @@ etharp_remove_static_entry(const ip4_addr_t *ipaddr) * * @param netif points to a network interface */ -void etharp_cleanup_netif(struct netif *netif) +void +etharp_cleanup_netif(struct netif *netif) { u8_t i;