diff --git a/src/core/ipv6/nd6.c b/src/core/ipv6/nd6.c index f9f3a1e2..68ae628e 100644 --- a/src/core/ipv6/nd6.c +++ b/src/core/ipv6/nd6.c @@ -587,6 +587,8 @@ nd6_input(struct pbuf *p, struct netif *inp) if ((inp->rs_count < LWIP_ND6_MAX_MULTICAST_SOLICIT) || (nd6_send_rs(inp) == ERR_OK)) { inp->rs_count = 0; + } else { + inp->rs_count = 1; } #endif /* LWIP_IPV6_SEND_ROUTER_SOLICIT */