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

attr: fix cluster list and originator id serialization flags #20

Merged
merged 2 commits into from
Apr 28, 2024

Conversation

Tuetuopay
Copy link
Contributor

@Tuetuopay Tuetuopay commented Apr 26, 2024

This PR fixes incorrect flags values used for the Cluster List and Originator ID path attributes, as they are not RFC compliant.

The typo set the TRANSITIVE and EXTENDED_LENGTH flags and not the
OPTIONAL one, which is squarely against the RFC that states the
attribute is "optional, non-transitive"
(https://datatracker.ietf.org/doc/html/rfc4456#section-8).
A value of 64 sets the incorrect flag: it sets the TRANSITIVE flag and
not the OPTIONAL flag, which makes it the opposite of what they should
be: "optional, non-transitive"
(https://datatracker.ietf.org/doc/html/rfc4456#section-8).
@Tuetuopay Tuetuopay changed the title attr/clusterlist: fix serialization flags attr: fix cluster list and originator id serialization flags Apr 26, 2024
@wladwm wladwm merged commit 9a49b03 into wladwm:main Apr 28, 2024
1 check passed
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