Skip to content

Commit

Permalink
Merge pull request #17495 from Orange-OpenSource/ospf-sr
Browse files Browse the repository at this point in the history
ospfd: Correct invalid SR-MPLS output label
  • Loading branch information
donaldsharp authored Nov 24, 2024
2 parents d745f4e + 1bcccb8 commit a7b25c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ospfd/ospf_sr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,12 @@ static void update_out_nhlfe(struct hash_bucket *bucket, void *args)
continue;

for (ALL_LIST_ELEMENTS_RO(srp->route->paths, pnode, path)) {
/* Compute NHFLE if path has not been initialized */
if (!path->srni.nexthop) {
compute_prefix_nhlfe(srp);
continue;
}

/* Skip path that has not next SR-Node as nexthop */
if (path->srni.nexthop != srnext)
continue;
Expand Down

0 comments on commit a7b25c4

Please sign in to comment.