The change from bgp_node_get() to bgp_node_lookup() broke aggregation.
Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Tested-by: Martin Winter <mwinter@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
if (BGP_INFO_HOLDDOWN (ri))
return;
- child = bgp_node_lookup (table, p);
- if (! child)
- return;
+ child = bgp_node_get (table, p);
/* Aggregate address configuration check. */
for (rn = child; rn; rn = rn->parent)
if (p->prefixlen == 0)
return;
- child = bgp_node_lookup (table, p);
- if (! child)
- return;
+ child = bgp_node_get (table, p);
/* Aggregate address configuration check. */
for (rn = child; rn; rn = rn->parent)