1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

gnrc_ndp_internal: prevent non-terminating loop

This commit is contained in:
Martine Lenders 2015-09-25 10:51:01 +02:00
parent d93e0f803f
commit 39ade25511

View File

@ -446,6 +446,7 @@ void gnrc_ndp_internal_send_rtr_adv(kernel_pid_t iface, ipv6_addr_t *src, ipv6_a
while (prf) {
/* skip if prefix does not belong to iface */
if (prf->iface != ipv6_iface) {
prf = prf->next;
continue;
}
/* skip if prefix has been processed already */