mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 14:29:47 +00:00
zebra: init dest's list of routes
Use the dlist init api on the zebra dest object's list of routes. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
34f86754a2
commit
daaeaa2150
@ -2276,6 +2276,7 @@ rib_dest_t *zebra_rib_create_dest(struct route_node *rn)
|
||||
|
||||
dest = XCALLOC(MTYPE_RIB_DEST, sizeof(rib_dest_t));
|
||||
rnh_list_init(&dest->nht);
|
||||
re_list_init(&dest->routes);
|
||||
route_lock_node(rn); /* rn route table reference */
|
||||
rn->info = dest;
|
||||
dest->rnode = rn;
|
||||
|
Loading…
Reference in New Issue
Block a user