Skip to content

Commit

Permalink
isisd: fix display of srv6 subsubtlvs
Browse files Browse the repository at this point in the history
Fix display of srv6 subsubtlvs

Fixes: 648a158 ("isisd: Add SRv6 End.X SID to Sub-TLV format func")
Signed-off-by: Louis Scalbert <[email protected]>
  • Loading branch information
louis-6wind committed May 23, 2024
1 parent b9870e9 commit 2e670cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions isisd/isis_tlvs.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,8 @@ static void format_item_ext_subtlvs(struct isis_ext_subtlvs *exts,
json_object_array_add(arr_adj_json, flags_json);
if (adj->subsubtlvs)
isis_format_subsubtlvs(adj->subsubtlvs,
NULL, json,
NULL,
arr_adj_json,
indent + 4);
}
} else
Expand Down Expand Up @@ -1031,7 +1032,8 @@ static void format_item_ext_subtlvs(struct isis_ext_subtlvs *exts,
json_object_array_add(arr_adj_json, flags_json);
if (lan->subsubtlvs)
isis_format_subsubtlvs(lan->subsubtlvs,
NULL, json,
NULL,
arr_adj_json,
indent + 4);
}
} else
Expand Down

0 comments on commit 2e670cd

Please sign in to comment.