Skip to content

Commit

Permalink
isisd: fix srv6 endx sid key name
Browse files Browse the repository at this point in the history
srv6EndSID is actually srv6EndXSID.

Fixes: d587926 ("isisd: fix show database json format")
Signed-off-by: Louis Scalbert <[email protected]>
  • Loading branch information
louis-6wind committed Jun 24, 2024
1 parent 3e82cf2 commit cd2e872
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion isisd/isis_tlvs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,8 @@ static void format_item_ext_subtlvs(struct isis_ext_subtlvs *exts,
/* end old deprecated key format */

arr_adj_json = json_object_new_array();
json_object_object_add(json, "srv6EndSID", arr_adj_json);
json_object_object_add(json, "srv6EndXSID",
arr_adj_json);
for (adj = (struct isis_srv6_endx_sid_subtlv *)
exts->srv6_endx_sid.head;
adj; adj = adj->next) {
Expand Down

0 comments on commit cd2e872

Please sign in to comment.