diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2023-06-25 10:22:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-25 10:22:34 -0500 |
| commit | 64ef7364c6c4ef8a0db7f47fdd9de4e451763702 (patch) | |
| tree | 13878218d483ef79438e03ce6375969878b6ea02 /vtysh/vtysh.c | |
| parent | 0ea4297e3c3e55d3894820f9359215b6957fa213 (diff) | |
| parent | 6dccdb9b0d1b3bbf04196f712ebccf9a8f39e47e (diff) | |
Merge pull request #13846 from LabNConsulting/chopps/backport-13795frr-9.0-rc
backport of #13795
Diffstat (limited to 'vtysh/vtysh.c')
| -rw-r--r-- | vtysh/vtysh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index c94b47fef5..ee52a98adb 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -2333,8 +2333,9 @@ DEFUNSH(VTYSH_REALLYALL, vtysh_disable, vtysh_disable_cmd, "disable", } DEFUNSH(VTYSH_REALLYALL, vtysh_config_terminal, vtysh_config_terminal_cmd, - "configure [terminal]", + "configure [terminal [file-lock]]", "Configuration from vty interface\n" + "Configuration with locked datastores\n" "Configuration terminal\n") { vty->node = CONFIG_NODE; @@ -2355,7 +2356,7 @@ static int vtysh_exit(struct vty *vty) if (vty->node == CONFIG_NODE) { /* resync in case one of the daemons is somewhere else */ vtysh_execute("end"); - vtysh_execute("configure"); + vtysh_execute("configure terminal file-lock"); } return CMD_SUCCESS; } |
