]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: fix erroneous srv6 information in database
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 29 Jan 2025 11:19:24 +0000 (12:19 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 29 Jan 2025 11:20:24 +0000 (12:20 +0100)
commit4150f9bbb12b39e8323d517d4c471b59b841f9df
tree2a10fee4707c2ffa947b9eeeb85e63e8a0dbd096
parented63f849ef2627de18a3cbe7614582f43309f67e
isisd: fix erroneous srv6 information in database

The show isis database detail command dumps invalid srv6 information:
>  SRv6 Locator: fc00:0:6::/64 (Metric: 0) ipv6-unicast
>    Sub-TLVs:
>      SRv6 End SID Endpoint Behavior: unknown, SID value: fc00:0:6:0:1::
>
>  MT Reachability: 0123.6452.1973.03 (Metric: 10) ipv6-unicast
>    Local Interface IPv6 Address(es): 192::4:3
>    SRv6 Lan End.X SID: fc00:0:3:0:43::, Algorithm: SPF, Weight: 0, Endpoint Behavior: End.DX6, Flags: B:0, S:0, P:0 Neighbor-ID: 0123.6452.1975
>        SRv6 SID Structure Locator Block length: 40, Locator Node length: 24, Function length: 16, Argument length: 0,

The behavior codepoint should use the IANA definitions to display the
correct value. Fix this by calling the appropriate convert function.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
isisd/isis_tlvs.c