mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 07:40:02 +00:00
isisd: Bind SRv6 End SID Sub-TLV ops to TLV type
General Sub-TLV processing functions (i.e., copy, format, free, pack, and unpack) perform a lookup of the specific handler for a Sub-TLV in the `tlv_table`, and then call the specific handler to process the Sub-TLV. This commit adds the handlers for the SRv6 End SID Sub-TLV (stored in `tlv_srv6_end_sid_ops`) to the `tlv_table`. Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
parent
dda911b30a
commit
15ecf1a125
@ -6582,6 +6582,9 @@ static const struct tlv_ops *const tlv_table[ISIS_CONTEXT_MAX][ISIS_TLV_MAX] = {
|
||||
[ISIS_CONTEXT_SUBTLV_IPV6_REACH] = {
|
||||
[ISIS_SUBTLV_PREFIX_SID] = &tlv_prefix_sid_ops,
|
||||
[ISIS_SUBTLV_IPV6_SOURCE_PREFIX] = &subtlv_ipv6_source_prefix_ops,
|
||||
},
|
||||
[ISIS_CONTEXT_SUBTLV_SRV6_LOCATOR] = {
|
||||
[ISIS_SUBTLV_SRV6_END_SID] = &tlv_srv6_end_sid_ops,
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user