summaryrefslogtreecommitdiff
path: root/zebra/zebra_pw.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-12-04 14:11:04 -0500
committerGitHub <noreply@github.com>2019-12-04 14:11:04 -0500
commite302caaa818a2e582a98f16eaa807bc3928bf617 (patch)
treecb6561db9a055c41f910e764f8178cf31637d3ad /zebra/zebra_pw.c
parent86637de7f9e93ae64e7be226a5e69e80fb0e2ae4 (diff)
parent0eb97b860dc94329cf9add9f8f3d3a2c7f539568 (diff)
Merge pull request #5416 from mjstapp/re_nhe_pointer
lib,zebra: use shared nexthop-group in route_entry
Diffstat (limited to 'zebra/zebra_pw.c')
-rw-r--r--zebra/zebra_pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_pw.c b/zebra/zebra_pw.c
index 3f1567a95b..618a232408 100644
--- a/zebra/zebra_pw.c
+++ b/zebra/zebra_pw.c
@@ -259,7 +259,7 @@ static int zebra_pw_check_reachability(struct zebra_pw *pw)
* Need to ensure that there's a label binding for all nexthops.
* Otherwise, ECMP for this route could render the pseudowire unusable.
*/
- for (ALL_NEXTHOPS_PTR(re->ng, nexthop)) {
+ for (ALL_NEXTHOPS_PTR(re->nhe->nhg, nexthop)) {
if (!nexthop->nh_label) {
if (IS_ZEBRA_DEBUG_PW)
zlog_debug("%s: unlabeled route for %s",