From 2c79332de7c0968599cfdc4007c0df02a1120658 Mon Sep 17 00:00:00 2001 From: Ivan Delamer Date: Tue, 5 May 2015 13:05:41 -0600 Subject: [PATCH] Only send RS messages if we have a LL address in some state other than invalid. --- src/core/ipv6/nd6.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/ipv6/nd6.c b/src/core/ipv6/nd6.c index 9f8a59d0..c74e35ac 100644 --- a/src/core/ipv6/nd6.c +++ b/src/core/ipv6/nd6.c @@ -812,7 +812,8 @@ nd6_tmr(void) #if LWIP_IPV6_SEND_ROUTER_SOLICIT /* Send router solicitation messages, if necessary. */ for (netif = netif_list; netif != NULL; netif = netif->next) { - if ((netif->rs_count > 0) && (netif->flags & NETIF_FLAG_UP)) { + if ((netif->rs_count > 0) && (netif->flags & NETIF_FLAG_UP) && + (!ip6_addr_isinvalid(netif_ip6_addr_state(netif, 0)))) { if (nd6_send_rs(netif) == ERR_OK) { netif->rs_count--; }