0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-11 17:08:46 +00:00

Change logs

This commit is contained in:
Igor Putovny 2024-06-04 12:17:39 +02:00
parent f4d5b4f02c
commit e5e35971b0

View File

@ -654,13 +654,13 @@ print_prefixes_ip4_helper(const struct trie_node *node, struct net_addr_ip4 *add
if (is_leaf(node))
{
log("%N\t-> %p", addr, node->bucket);
log("%N -> %p", addr, node->bucket);
return;
}
if (node->bucket != NULL)
if (node->bucket)
{
log("%N\t-> %p", addr, node->bucket);
log("%N -> %p", addr, node->bucket);
}
if (node->child[0])
@ -686,13 +686,13 @@ print_prefixes_ip6_helper(const struct trie_node *node, struct net_addr_ip6 *add
if (is_leaf(node))
{
log("%N\t-> %p", addr, node->bucket);
log("%N -> %p", addr, node->bucket);
return;
}
if (node->bucket != NULL)
if (node->bucket)
{
log("%N\t-> %p", addr, node->bucket);
log("%N -> %p", addr, node->bucket);
}
if (node->child[0])