summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-06-01 20:54:51 -0300
committerGitHub <noreply@github.com>2020-06-01 20:54:51 -0300
commitc5b9016eeb37a21b64daaabf41af0b40d86b0306 (patch)
tree6c8d4cb7058cc0db97ded421891408613818381b /zebra/zebra_rib.c
parent88b5958e31e2458b710ef1aac9d352235019b546 (diff)
parentf2e7f4eba44ddb448e18e89c46f6318164bfa39a (diff)
Merge pull request #6266 from mjstapp/backup_nhgs
zebra: backup nexthops/nhlfes for LSPs
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c1
1 files changed, 1 insertions, 0 deletions
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;