summaryrefslogtreecommitdiff
path: root/lib/segment_routing.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-10-25 17:17:53 -0400
committerDonald Sharp <sharpd@nvidia.com>2024-10-25 17:22:13 -0400
commitc3eebccdc6d81992ba7b427f51c463d412b70d75 (patch)
tree3388693524c1c35a7b497e82426892ff515b5604 /lib/segment_routing.h
parent3f446ecb6b58fc8aabb431975ab941c80513a4c7 (diff)
bgpd: bestpath failure when you have a singlepath not in holddown
When you have multiple paths to a particular route and a single path changes. In addition of the other paths are either in hold down or not established or really just not selected you could end up with a situation where the bestpath choosen was a path that was in hold down. Modify the code such that when there is nothing worse in bestpath selection for the choosen path, but were unable to do any sorting, just put the path on the top of the list and declare it the winner. Else just do the original and put it at the end. Signed-off-by: Chirag Shah <chirag@nvidia.com> Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/segment_routing.h')
0 files changed, 0 insertions, 0 deletions