mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 08:35:05 +00:00
isisd: Add SRv6 Capabilities Sub-TLV to the LSPs
Add SRv6 Capabilities Sub-TLV to the Router Capabilities TLV in the LSPs generated with the `lsp_build()` function. Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
parent
94b08a4910
commit
b85ecd30a9
@ -1210,6 +1210,14 @@ static void lsp_build(struct isis_lsp *lsp, struct isis_area *area)
|
||||
/* And finally MSD */
|
||||
rcap->msd = srdb->config.msd;
|
||||
}
|
||||
|
||||
/* Add SRv6 Sub-TLVs if SRv6 is enabled */
|
||||
if (area->srv6db.config.enabled) {
|
||||
rcap->srv6_cap.is_srv6_capable = true;
|
||||
|
||||
/* SRv6 flags */
|
||||
rcap->srv6_cap.flags = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* IPv4 address and TE router ID TLVs.
|
||||
|
Loading…
Reference in New Issue
Block a user