From cfdbdf26c2b511a7ac54281672a4dfbe56167e7b Mon Sep 17 00:00:00 2001 From: "James R. Leu" Date: Mon, 16 May 2005 19:24:39 -0600 Subject: [PATCH] Make sure to initialize the global link list element [git-p4: depot-paths = "//depot/ldp-portable/": change = 1142] --- ldp/ldp_nexthop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ldp/ldp_nexthop.c b/ldp/ldp_nexthop.c index 354a017..49c486f 100644 --- a/ldp/ldp_nexthop.c +++ b/ldp/ldp_nexthop.c @@ -57,6 +57,7 @@ ldp_nexthop *ldp_nexthop_create(ldp_global *g, mpls_nexthop *n) memset(nh, 0, sizeof(ldp_nexthop)); MPLS_REFCNT_INIT(nh, 0); MPLS_LIST_INIT(&nh->outlabel_root, ldp_outlabel); + MPLS_LIST_ELEM_INIT(nh, _global); MPLS_LIST_ELEM_INIT(nh, _fec); MPLS_LIST_ELEM_INIT(nh, _addr); MPLS_LIST_ELEM_INIT(nh, _if); -- 2.11.4.GIT