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