summaryrefslogtreecommitdiffstats
path: root/isisd/isis_tlvs.c
diff options
context:
space:
mode:
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2023-03-11 11:57:05 +0100
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2023-09-11 22:11:32 +0200
commit2d8c96886700956a3dcabd9dcde35a2f4ee1ed78 (patch)
treec1af6d0f783c4c5fc71b367610e7847912fed17f /isisd/isis_tlvs.c
parentisisd: Add copy func for SID Structure Sub-Sub-TLV (diff)
downloadfrr-2d8c96886700956a3dcabd9dcde35a2f4ee1ed78.tar.xz
frr-2d8c96886700956a3dcabd9dcde35a2f4ee1ed78.zip
isisd: Copy SID Struct when copying Sub-Sub-TLVs
Extend generic Sub-Sub-TLVs copy function to copy SRv6 SID Structure Sub-Sub-TLVs (RFC 9352 section #9). Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'isisd/isis_tlvs.c')
-rw-r--r--isisd/isis_tlvs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c
index fe6f80e0a..f9ae8e9fd 100644
--- a/isisd/isis_tlvs.c
+++ b/isisd/isis_tlvs.c
@@ -2017,6 +2017,9 @@ isis_copy_subsubtlvs(struct isis_subsubtlvs *subsubtlvs)
rv->context = subsubtlvs->context;
+ rv->srv6_sid_structure = copy_subsubtlv_srv6_sid_structure(
+ subsubtlvs->srv6_sid_structure);
+
return rv;
}