]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Root has a depth 0 instead of 1
authorIgor Putovny <igor.putovny@nic.cz>
Mon, 25 Nov 2024 15:51:15 +0000 (16:51 +0100)
committerIgor Putovny <igor.putovny@nic.cz>
Mon, 25 Nov 2024 15:51:15 +0000 (16:51 +0100)
proto/aggregator/aggregator.c

index 41d80f01569702c225e806845d64b91f02a5903f..ae35b3f58192ad20f308606cfc3aa680fdb0f808 100644 (file)
@@ -1801,7 +1801,7 @@ static void
 trie_init(struct aggregator_proto *p)
 {
   p->root = create_new_node(p->trie_pool);
-  p->root->depth = 1;
+  p->root->depth = 0;
 
   struct network *default_net = NULL;