mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-04-15 19:44:38 +00:00
rte_update: Doesn't loop forever when multiple routes point to the same
destination.
This commit is contained in:
parent
dc7c7494e3
commit
db6984c43c
@ -186,6 +186,7 @@ rte_update(net *net, struct proto *p, rte *new)
|
||||
*k = r->next;
|
||||
break;
|
||||
}
|
||||
k = &r->next;
|
||||
}
|
||||
r->next = net->routes;
|
||||
net->routes = r;
|
||||
|
Loading…
x
Reference in New Issue
Block a user