]> git.puffer.fish Git - matthieu/frr.git/commit
lib: fix false context information for SRv6 route
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 5 Feb 2025 08:52:59 +0000 (09:52 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 13 Feb 2025 17:58:27 +0000 (17:58 +0000)
commit1f0845ad29035e0cae2a4c6ed129eace366212f3
tree88466d572abb0213b03fac0cfc66eced9fe1bd9b
parentdcebe85aa699cf52aed4b5e7cd4c0e466c734ada
lib: fix false context information for SRv6 route

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: e496b4203055 ("bgpd: prefix-sid srv6 l3vpn service tlv")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
(cherry picked from commit 658bf0281d99461849453628ddc792ec424d0bd4)
lib/srv6.c