diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c index ba224d137780..83b1e82c3909 100644 --- a/isisd/isis_cli.c +++ b/isisd/isis_cli.c @@ -2351,13 +2351,13 @@ DEFPY_YANG (isis_frr_lfa_tiebreaker, snprintf( xpath, XPATH_MAXLEN, "./fast-reroute/level-1/lfa/tiebreaker[index='%s'][type='%s']", - index_str); + index_str, type); nb_cli_enqueue_change(vty, xpath, NB_OP_DESTROY, NULL); } else { snprintf( xpath, XPATH_MAXLEN, "./fast-reroute/level-1/lfa/tiebreaker[index='%s'][type='%s']/type", - index_str); + index_str, type); nb_cli_enqueue_change(vty, xpath, NB_OP_CREATE, type); } } @@ -2366,13 +2366,13 @@ DEFPY_YANG (isis_frr_lfa_tiebreaker, snprintf( xpath, XPATH_MAXLEN, "./fast-reroute/level-2/lfa/tiebreaker[index='%s'][type='%s']", - index_str); + index_str, type); nb_cli_enqueue_change(vty, xpath, NB_OP_DESTROY, NULL); } else { snprintf( xpath, XPATH_MAXLEN, "./fast-reroute/level-2/lfa/tiebreaker[index='%s'][type='%s']/type", - index_str); + index_str, type); nb_cli_enqueue_change(vty, xpath, NB_OP_CREATE, type); } }