mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-03 06:17:42 +00:00
Merge pull request #17495 from Orange-OpenSource/ospf-sr
ospfd: Correct invalid SR-MPLS output label
This commit is contained in:
commit
a7b25c47bd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user