Signed-off-by: Christian Hopps <chopps@labn.net>
FILE *confp;
uint line_num = 0;
uint count = 0;
+ uint index;
vty = vty_new();
vty->wfd = STDERR_FILENO;
vty->mgmt_locked_candidate_ds = true;
mgmt_candidate_ds_wr_locked = true;
- for (uint index = 0; index < mgmt_daemons_count; index++) {
+
+ for (index = 0; index < array_size(mgmt_daemons); index++) {
snprintf(path, sizeof(path), "%s/%s.conf", frr_sysconfdir,
mgmt_daemons[index]);