summaryrefslogtreecommitdiff
path: root/vtysh/vtysh_config.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2023-06-25 10:22:34 -0500
committerGitHub <noreply@github.com>2023-06-25 10:22:34 -0500
commit64ef7364c6c4ef8a0db7f47fdd9de4e451763702 (patch)
tree13878218d483ef79438e03ce6375969878b6ea02 /vtysh/vtysh_config.c
parent0ea4297e3c3e55d3894820f9359215b6957fa213 (diff)
parent6dccdb9b0d1b3bbf04196f712ebccf9a8f39e47e (diff)
Merge pull request #13846 from LabNConsulting/chopps/backport-13795frr-9.0-rc
backport of #13795
Diffstat (limited to 'vtysh/vtysh_config.c')
-rw-r--r--vtysh/vtysh_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c
index 2949faa427..a5f790bbc6 100644
--- a/vtysh/vtysh_config.c
+++ b/vtysh/vtysh_config.c
@@ -607,7 +607,7 @@ static int vtysh_read_file(FILE *confp, bool dry_run)
vty->node = CONFIG_NODE;
vtysh_execute_no_pager("enable");
- vtysh_execute_no_pager("configure terminal");
+ vtysh_execute_no_pager("configure terminal file-lock");
if (!dry_run)
vtysh_execute_no_pager("XFRR_start_configuration");