]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix false context information for SRv6 route 18174/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 5 Feb 2025 08:52:59 +0000 (09:52 +0100)
committerCarmine Scarpitta <cscarpit@cisco.com>
Fri, 14 Feb 2025 21:33:01 +0000 (22:33 +0100)
commit8a80a18554591c8ee48da4bec58d0a350c6e8f2d
treeb8e8cce313f4a803e91dd9f1ed4e83f378b29a18
parenta7b6b4ce5d744ae1d778314be5feddc363faaa92
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>
lib/srv6.c