add reference to the RFC for the last commit...

This commit is contained in:
Simon Goldschmidt 2018-06-08 22:54:02 +02:00
parent 1a294622d0
commit 4fa33c17bc

View File

@ -583,7 +583,7 @@ nd6_input(struct pbuf *p, struct netif *inp)
/* If we are sending RS messages, stop. */ /* If we are sending RS messages, stop. */
#if LWIP_IPV6_SEND_ROUTER_SOLICIT #if LWIP_IPV6_SEND_ROUTER_SOLICIT
/* ensure at least one solicitation is sent */ /* ensure at least one solicitation is sent (see RFC 4861, ch. 6.3.7) */
if ((inp->rs_count < LWIP_ND6_MAX_MULTICAST_SOLICIT) || if ((inp->rs_count < LWIP_ND6_MAX_MULTICAST_SOLICIT) ||
(nd6_send_rs(inp) == ERR_OK)) { (nd6_send_rs(inp) == ERR_OK)) {
inp->rs_count = 0; inp->rs_count = 0;