diff options
Diffstat (limited to 'mgmtd/mgmt_vty.c')
| -rw-r--r-- | mgmtd/mgmt_vty.c | 8 | 
1 files changed, 2 insertions, 6 deletions
diff --git a/mgmtd/mgmt_vty.c b/mgmtd/mgmt_vty.c index 93c5145d71..6a6f32353d 100644 --- a/mgmtd/mgmt_vty.c +++ b/mgmtd/mgmt_vty.c @@ -157,9 +157,7 @@ DEFPY(mgmt_set_config_data, mgmt_set_config_data_cmd,  	vty->cfg_changes[0].operation = NB_OP_CREATE;  	vty->num_cfg_changes = 1; -	vty->no_implicit_commit = true; -	vty_mgmt_send_config_data(vty); -	vty->no_implicit_commit = false; +	vty_mgmt_send_config_data(vty, false);  	return CMD_SUCCESS;  } @@ -176,9 +174,7 @@ DEFPY(mgmt_delete_config_data, mgmt_delete_config_data_cmd,  	vty->cfg_changes[0].operation = NB_OP_DESTROY;  	vty->num_cfg_changes = 1; -	vty->no_implicit_commit = true; -	vty_mgmt_send_config_data(vty); -	vty->no_implicit_commit = false; +	vty_mgmt_send_config_data(vty, false);  	return CMD_SUCCESS;  }  | 
