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:
parent
d93e0f803f
commit
39ade25511
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user