]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bugfix
authorIgor Putovny <igor.putovny@nic.cz>
Mon, 16 Dec 2024 12:46:11 +0000 (13:46 +0100)
committerIgor Putovny <igor.putovny@nic.cz>
Mon, 16 Dec 2024 12:46:11 +0000 (13:46 +0100)
proto/aggregator/aggregator.c

index 1fe5168d218a637294f6f44fe17b114d02622778..f43e9026a69425a10d7c393b7103afa28b9e7160 100644 (file)
@@ -1124,8 +1124,6 @@ collect_prefixes_ip4_helper(struct aggregator_proto *p, struct net_addr_ip4 *add
   {
     if (IN_FIB == node->status)
       p->leaves++;
-
-    return;
   }
 
   /* Internal node with assigned bucket */
@@ -1165,8 +1163,6 @@ collect_prefixes_ip6_helper(struct aggregator_proto *p, struct net_addr_ip6 *add
   {
     if (IN_FIB == node->status)
       p->leaves++;
-
-    return;
   }
 
   /* Internal node with assigned bucket */