summaryrefslogtreecommitdiffstats
path: root/isisd/isis_te.c
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2022-12-09 12:34:50 +0100
committerLouis Scalbert <louis.scalbert@6wind.com>2023-02-10 13:52:03 +0100
commitbd0581e434c489c9fad754febccd5c40c1ce3357 (patch)
tree8d46caf1b80b6ad00c2e813615d3f89eda13317e /isisd/isis_te.c
parentlib,zebra: add affinity-map configuration hooks (diff)
downloadfrr-bd0581e434c489c9fad754febccd5c40c1ce3357.tar.xz
frr-bd0581e434c489c9fad754febccd5c40c1ce3357.zip
lib,isisd: add extended admin-group info into the ted
Add extended admin-group info into the ted. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'isisd/isis_te.c')
-rw-r--r--isisd/isis_te.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/isisd/isis_te.c b/isisd/isis_te.c
index 95a1dc989..cf23c1a5a 100644
--- a/isisd/isis_te.c
+++ b/isisd/isis_te.c
@@ -765,6 +765,11 @@ static struct ls_attributes *get_attributes(struct ls_node_id adv,
attr->standard.admin_group = tlvs->adm_group;
SET_FLAG(attr->flags, LS_ATTR_ADM_GRP);
}
+ if (CHECK_FLAG(tlvs->status, EXT_EXTEND_ADM_GRP)) {
+ admin_group_copy(&attr->ext_admin_group,
+ &tlvs->ext_admin_group);
+ SET_FLAG(attr->flags, LS_ATTR_EXT_ADM_GRP);
+ }
if (CHECK_FLAG(tlvs->status, EXT_LLRI)) {
attr->standard.local_id = tlvs->local_llri;
attr->standard.remote_id = tlvs->remote_llri;