summaryrefslogtreecommitdiff
path: root/zebra/zebra_pw.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-02-27 18:43:59 -0500
committerGitHub <noreply@github.com>2020-02-27 18:43:59 -0500
commitf16e992d37f670ea4812c950e3f3d29e7f019b03 (patch)
tree1fa614cd6e3aaad1b237b159be2b48dfa7282d3b /zebra/zebra_pw.c
parent93b568451d3af4228376f82a253fa71a964fb091 (diff)
parentc415d89528f5cd7128e5b4c4cd65cce01d64fc80 (diff)
Merge pull request #5857 from mjstapp/embed_nhg_in_nhe
zebra,lib: Embed lib nexthop-group in zebra hash 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 618a232408..610a052c31 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->nhe->nhg, nexthop)) {
+ for (ALL_NEXTHOPS(re->nhe->nhg, nexthop)) {
if (!nexthop->nh_label) {
if (IS_ZEBRA_DEBUG_PW)
zlog_debug("%s: unlabeled route for %s",