]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Table: Fixed table debug settings reconfiguration
authorMaria Matejka <mq@ucw.cz>
Wed, 8 Jan 2025 19:59:03 +0000 (20:59 +0100)
committerMaria Matejka <mq@ucw.cz>
Thu, 9 Jan 2025 09:35:00 +0000 (10:35 +0100)
nest/rt-table.c

index c7494d6217dc9a75ea66e88ef313985eebe365bc..78d344448dcb5a78453873ee0ef66e0ff8ae3814 100644 (file)
@@ -4743,6 +4743,9 @@ rt_reconfigure(struct rtable_private *tab, struct rtable_config *new, struct rta
   tab->config = new;
   tab->debug = new->debug;
   tab->export_all.trace_routes = tab->export_best.trace_routes = new->debug;
+  tab->best_req.trace_routes = new->debug;
+  if (tab->export_digest)
+    tab->export_digest->req.trace_routes = new->debug;
 
   if (tab->hostcache)
     tab->hostcache->req.trace_routes = new->debug;