Skip to content

Commit

Permalink
Merge pull request #17414 from dmytroshytyi-6WIND/srv6_isisd_fix_disp…
Browse files Browse the repository at this point in the history
…lay_algorithm

isisd: properly display srv6 algorithm
  • Loading branch information
donaldsharp authored Nov 19, 2024
2 parents 26b0cca + be4eb37 commit a959c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isisd/isis_tlvs.c
Original file line number Diff line number Diff line change
Expand Up @@ -7993,7 +7993,7 @@ struct isis_router_cap *isis_tlvs_init_router_capability(struct isis_tlvs *tlvs)
tlvs->router_cap = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->router_cap));

/* init SR algo list content to the default value */
for (int i = 0; i < SR_ALGORITHM_COUNT; i++)
for (int i = 1; i < SR_ALGORITHM_COUNT; i++)
tlvs->router_cap->algo[i] = SR_ALGORITHM_UNSET;

return tlvs->router_cap;
Expand Down

0 comments on commit a959c3f

Please sign in to comment.