From daaeaa21507477e35dc9b455962a28ae38761e16 Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Thu, 2 Apr 2020 11:20:58 -0400 Subject: [PATCH] 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 --- zebra/zebra_rib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index d491982d62..71f802f182 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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; -- 2.39.5