mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 11:04:41 +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;
|
continue;
|
||||||
|
|
||||||
for (ALL_LIST_ELEMENTS_RO(srp->route->paths, pnode, path)) {
|
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 */
|
/* Skip path that has not next SR-Node as nexthop */
|
||||||
if (path->srni.nexthop != srnext)
|
if (path->srni.nexthop != srnext)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user