0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-19 11:55:21 +00:00

Fixed announcement inconsistency between feeds and regular exports

This commit is contained in:
Maria Matejka 2024-04-07 14:11:27 +02:00
parent 2eebb680c2
commit 670c46725b

View File

@ -3935,6 +3935,14 @@ rt_prepare_feed(struct rt_export_hook *c, net *n, rt_feed_block *b)
const rte *new = RTE_OR_NULL(n->routes);
b->rpe[b->pos++] = (struct rt_pending_export) { .new = new, .new_best = new, };
/* Mark all journal items seen */
if (req->mark_seen)
RPE_WALK(n->first, rpe, NULL)
req->mark_seen(req, rpe);
else
RPE_WALK(n->first, rpe, NULL)
rpe_mark_seen(c, rpe);
}
}
else