mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 20:51:17 +00:00
zebra: improve an rnode debug
Improve a debug when we create a new rib_dest by calling the debug after setting up the dest. Signed-off-by: Mark Stapp <mjs@cisco.com>
This commit is contained in:
parent
079ee236ec
commit
9af5425a28
@ -4033,10 +4033,10 @@ static void rib_link(struct route_node *rn, struct route_entry *re, int process)
|
||||
|
||||
dest = rib_dest_from_rnode(rn);
|
||||
if (!dest) {
|
||||
dest = zebra_rib_create_dest(rn);
|
||||
|
||||
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
|
||||
rnode_debug(rn, re->vrf_id, "rn %p adding dest", rn);
|
||||
|
||||
dest = zebra_rib_create_dest(rn);
|
||||
}
|
||||
|
||||
re_list_add_head(&dest->routes, re);
|
||||
|
Loading…
Reference in New Issue
Block a user