]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: properly display srv6 algorithm
authorDmytro Shytyi <dmytro.shytyi@6wind.com>
Tue, 12 Nov 2024 14:24:57 +0000 (15:24 +0100)
committerDmytro Shytyi <dmytro.shytyi@6wind.com>
Tue, 12 Nov 2024 14:24:57 +0000 (15:24 +0100)
commitbe4eb370dbdf82df53717cfec55819fa4d8f8ec3
tree60ce5d6889ce2622a63a3cc9f20c46973be7f008
parent1abe911c5b0685b76e426e80879958d261471e6d
isisd: properly display srv6 algorithm

When the segment-routing ipv6 is configured, the SPF
algoritm shows S-SPF is used:

> rt1# show isis segment-routing srv6 node
> Area 1:
> IS-IS L1 SRv6-Nodes:
>
> System ID Algorithm SRH Max SL SRH Max End Pop SRH Max H.encaps SRH Max End D
> -----------------------------------------------------------------------------------------
> 0000.0000.0001 S-SPF 3 3 2 5

Actually, the segment-routing ipv6 algo capabilities (SPF) are rewritten.
Don't rewrite the algo[0].

> rt1# show isis segment-routing srv6 node
> Area 1:
> IS-IS L1 SRv6-Nodes:
>
> System ID Algorithm SRH Max SL SRH Max End Pop SRH Max H.encaps SRH Max End D
> -----------------------------------------------------------------------------------------
> 0000.0000.0001 SPF 3 3 2 5

Fixes: ("78774bbcd51b") isisd: add isis flex-algo lsp advertisement
Signed-off-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
isisd/isis_tlvs.c