From: Maria Matejka Date: Sun, 7 Apr 2024 12:11:27 +0000 (+0200) Subject: Fixed announcement inconsistency between feeds and regular exports X-Git-Tag: v3.0.0~230 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670c46725b70fa9105f5724d7066863d60efdb97;p=thirdparty%2Fbird.git Fixed announcement inconsistency between feeds and regular exports --- diff --git a/nest/rt-table.c b/nest/rt-table.c index f1b13872f..68799177e 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -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