mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Fixes bug in pipe feeding when filtered routes are kept in table
This commit is contained in:
parent
ae80a2de95
commit
ca34698ca6
@ -1816,15 +1816,20 @@ again:
|
||||
{
|
||||
if (p->export_state != ES_FEEDING)
|
||||
return 1; /* In the meantime, the protocol fell down. */
|
||||
|
||||
do_feed_baby(p, p->accept_ra_types, h, n, e);
|
||||
max_feed--;
|
||||
}
|
||||
|
||||
if (p->accept_ra_types == RA_ANY)
|
||||
for(e = n->routes; rte_is_valid(e); e = e->next)
|
||||
for(e = n->routes; e; e = e->next)
|
||||
{
|
||||
if (p->export_state != ES_FEEDING)
|
||||
return 1; /* In the meantime, the protocol fell down. */
|
||||
|
||||
if (!rte_is_valid(e))
|
||||
continue;
|
||||
|
||||
do_feed_baby(p, RA_ANY, h, n, e);
|
||||
max_feed--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user