summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-20 10:39:05 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-20 10:39:07 +0200
commit0c2a46d8a62b5af6c5fb7ad80e720607d5b91864 (patch)
treeff8e335afda428ed8c18617f6a22390693bab371
parent989f01c4065d3d3f83562b20a2a2b79189cb81f2 (diff)
vty: Register logp cmd next to logging commands
This way it's easier by osmo_verify_transcript_vty.py to skip and avoid breaking existent test in osmo-hlr. Fixes: d0b3b9edac978c91bf84aa2537aa24426685b1fb Change-Id: Iab9423661e4f4eefca2e3d02b60a43f913ed92a3
-rw-r--r--src/vty/logging_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 243d6ebd..d639a8f7 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -1061,12 +1061,13 @@ void logging_vty_add_cmds()
install_element_ve(&deprecated_logging_level_everything_cmd);
install_element_ve(&deprecated_logging_level_all_cmd);
install_element_ve(&deprecated_logging_level_all_everything_cmd);
- install_element_ve(&show_logging_vty_cmd);
- install_element_ve(&show_alarms_cmd);
gen_vty_logp_cmd_strs(&vty_logp_cmd);
install_element_ve(&vty_logp_cmd);
+ install_element_ve(&show_logging_vty_cmd);
+ install_element_ve(&show_alarms_cmd);
+
install_node(&cfg_log_node, config_write_log);
install_element(CFG_LOG_NODE, &logging_fltr_all_cmd);
install_element(CFG_LOG_NODE, &logging_use_clr_cmd);