Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set AddPathLen for BGP Routes when received via grpc #471

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

Istvan91
Copy link
Contributor

@Istvan91 Istvan91 commented Jul 1, 2024

When using ris-mirror the routes weren't sorted by BestPath:

The ASPathLen value was not set when decoding BGP Paths from proto and defaulted back to zero => all routes where treated as having the same ASPathLen, regardless of the actual ASPath.

@Istvan91 Istvan91 force-pushed the lpm_force_sorted_best_path branch from 7cf35d3 to 081a843 Compare July 2, 2024 07:57
@Istvan91
Copy link
Contributor Author

Istvan91 commented Jul 2, 2024

fixed the corresponding test

@taktv6
Copy link
Member

taktv6 commented Jul 2, 2024

Many thanks for troubleshooting and fixing this!

Copy link
Member

@taktv6 taktv6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@taktv6 taktv6 merged commit 3fbc7fd into bio-routing:master Jul 2, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants