From: Maria Matejka Date: Sun, 7 Apr 2024 09:43:52 +0000 (+0200) Subject: Fixed reporting about exported routes X-Git-Tag: v3.0.0~246^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e38cd2b215ef44e0d15d78bcf499e3b9463ab4b0;p=thirdparty%2Fbird.git Fixed reporting about exported routes --- diff --git a/nest/rt-table.c b/nest/rt-table.c index baa1f04a9..1f8634062 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -734,15 +734,12 @@ do_rt_notify(struct channel *c, const net_addr *net, rte *new, const rte *old) if (new) bmap_set(&c->export_map, new->id); - if (p->debug & D_ROUTES) - { - if (new && old) - channel_rte_trace_out(D_ROUTES, c, new, "replaced"); - else if (new) - channel_rte_trace_out(D_ROUTES, c, new, "added"); - else if (old) - channel_rte_trace_out(D_ROUTES, c, old, "removed"); - } + if (new && old) + channel_rte_trace_out(D_ROUTES, c, new, "replaced"); + else if (new) + channel_rte_trace_out(D_ROUTES, c, new, "added"); + else if (old) + channel_rte_trace_out(D_ROUTES, c, old, "removed"); p->rt_notify(p, c, net, new, old); }