fixed bug #43784 (a host should send at least one Router Solicitation)

This commit is contained in:
sg 2015-03-04 21:21:49 +01:00
parent db5510b866
commit 72dcdb7655
2 changed files with 7 additions and 0 deletions

View File

@ -205,6 +205,9 @@ HISTORY
++ Bugfixes:
2015-03-04: Simon Goldschmidt
* nd6.c: fixed bug #43784 (a host should send at least one Router Solicitation)
2015-03-04: Valery Ushakov
* ip6.c: fixed bug #41094 (Byte-order bug in IPv6 fragmentation header test)

View File

@ -376,6 +376,10 @@ nd6_input(struct pbuf *p, struct netif *inp)
/* If we are sending RS messages, stop. */
#if LWIP_IPV6_SEND_ROUTER_SOLICIT
if (inp->rs_count == LWIP_ND6_MAX_MULTICAST_SOLICIT) {
/* ensure at least one solicitation is sent */
nd6_send_rs(inp);
}
inp->rs_count = 0;
#endif /* LWIP_IPV6_SEND_ROUTER_SOLICIT */