mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Fixes feeding of new protocol, only preferred routes are announced.
This commit is contained in:
parent
3f670371cf
commit
258d0ad4ca
@ -851,13 +851,13 @@ again:
|
||||
FIB_ITERATE_START(&h->table->fib, fit, fn)
|
||||
{
|
||||
net *n = (net *) fn;
|
||||
rte *e;
|
||||
rte *e = n->routes;
|
||||
if (max_feed <= 0)
|
||||
{
|
||||
FIB_ITERATE_PUT(fit, fn);
|
||||
return 0;
|
||||
}
|
||||
for(e=n->routes; e; e=e->next)
|
||||
if (e)
|
||||
{
|
||||
struct proto *q = e->attrs->proto;
|
||||
ea_list *tmpa;
|
||||
|
Loading…
Reference in New Issue
Block a user