diff options
| author | Santosh P K <50885001+Spantik@users.noreply.github.com> | 2021-03-01 18:40:06 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-01 18:40:06 +0530 |
| commit | 0a1e7b612af18fc2ad476d00e6ad428acf17fb4f (patch) | |
| tree | d2aebeab6bd25f2e04ffff77d3c08fbb19926c8a /lib/northbound_cli.c | |
| parent | 8cf565010c5c741133778b9135ef9a668fae9aec (diff) | |
| parent | bcbe60d456b96127636cdb12485d827aa9e649c8 (diff) | |
Merge pull request #8073 from idryzhov/vtysh-show-config
lib: allow "show config running" command for non-transactional CLI
Diffstat (limited to 'lib/northbound_cli.c')
| -rw-r--r-- | lib/northbound_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound_cli.c b/lib/northbound_cli.c index 1416b758d8..a2c8bc8633 100644 --- a/lib/northbound_cli.c +++ b/lib/northbound_cli.c @@ -1906,7 +1906,6 @@ void nb_cli_init(struct thread_master *tm) if (frr_get_cli_mode() == FRR_CLI_TRANSACTIONAL) { install_element(ENABLE_NODE, &config_exclusive_cmd); install_element(ENABLE_NODE, &config_private_cmd); - install_element(ENABLE_NODE, &show_config_running_cmd); install_element(ENABLE_NODE, &show_config_compare_without_candidate_cmd); install_element(ENABLE_NODE, &show_config_transaction_cmd); @@ -1919,6 +1918,7 @@ void nb_cli_init(struct thread_master *tm) } /* Other commands. */ + install_element(ENABLE_NODE, &show_config_running_cmd); install_element(CONFIG_NODE, &yang_module_translator_load_cmd); install_element(CONFIG_NODE, &yang_module_translator_unload_cmd); install_element(ENABLE_NODE, &show_yang_operational_data_cmd); |
