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

lib: fix false context information for SRv6 route #18023

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

pguibert6WIND
Copy link
Member

The seg6local route dumped by 'show ipv6 route' makes think that the USP flavor is supported, whereas it is not the case. This information is a context information, and for End, the context information should be empty.

show ipv6 route

[..]
I>* fc00:0:4::/128 [115/0] is directly connected, sr0, seg6local End USP, weight 1, 00:49:01

Fix this by suppressing the USP information from the output.

Fixes: e496b42 ("bgpd: prefix-sid srv6 l3vpn service tlv")

@ton31337
Copy link
Member

ton31337 commented Feb 5, 2025

@Mergifyio backport dev/10.3 stable/10.2 stable/10.1 stable/10.0

Copy link

mergify bot commented Feb 5, 2025

backport dev/10.3 stable/10.2 stable/10.1 stable/10.0

✅ Backports have been created

The seg6local route dumped by 'show ipv6 route' makes think that the USP
flavor is supported, whereas it is not the case. This information is a
context information, and for End, the context information should be
empty.

> # show ipv6 route
> [..]
> I>* fc00:0:4::/128 [115/0] is directly connected, sr0, seg6local End USP, weight 1, 00:49:01

Fix this by suppressing the USP information from the output.

Fixes: e496b42 ("bgpd: prefix-sid srv6 l3vpn service tlv")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Copy link
Contributor

@cscarpitta cscarpitta left a comment

Choose a reason for hiding this comment

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

LGTM

@cscarpitta cscarpitta merged commit caeef98 into FRRouting:master Feb 13, 2025
13 checks passed
Jafaral added a commit that referenced this pull request Feb 14, 2025
lib: fix false context information for SRv6 route (backport #18023)
Jafaral added a commit that referenced this pull request Feb 14, 2025
lib: fix false context information for SRv6 route (backport #18023)
donaldsharp added a commit that referenced this pull request Feb 15, 2025
…p_for_10.0

lib: fix false context information for SRv6 route (backport #18023 for 10.0)
donaldsharp added a commit that referenced this pull request Feb 15, 2025
…p_for_10.1

lib: fix false context information for SRv6 route (backport #18023 for 10.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants