diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-11-19 09:30:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-19 09:30:36 -0500 |
| commit | a959c3fe9e3c596f3d1ad1207a68abf4c6049f31 (patch) | |
| tree | 3b28877d7ac753427b4182e819834f68c43440c5 /isisd | |
| parent | 26b0cca95dbcf903aafdbface8f56af7476fec40 (diff) | |
| parent | be4eb370dbdf82df53717cfec55819fa4d8f8ec3 (diff) | |
Merge pull request #17414 from dmytroshytyi-6WIND/srv6_isisd_fix_display_algorithm
isisd: properly display srv6 algorithm
Diffstat (limited to 'isisd')
| -rw-r--r-- | isisd/isis_tlvs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index b5caf396c1..18b13547a5 100644 --- a/isisd/isis_tlvs.c +++ b/isisd/isis_tlvs.c @@ -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; |
