diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index b5caf396c17c..18b13547a5c5 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;