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

RouteOrigin needs to compare using resolved_max_len. #195

Merged
merged 1 commit into from
Jan 21, 2022

Conversation

partim
Copy link
Member

@partim partim commented Jan 20, 2022

This PR switches the derived impls PartialEq, Hash, PartialOrd, and Ord for rtr::payload::RouteOrigin to manual impls that consider a missing max len equal to a max len set to the prefix len. This is necessary to filter out duplicates in RTR where max len is always given.

@partim partim removed request for timbru and ximon18 January 21, 2022 11:46
@partim partim merged commit bc27fa5 into main Jan 21, 2022
@partim partim deleted the route-origin-order-fix branch January 21, 2022 11:47
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