From 0c2a46d8a62b5af6c5fb7ad80e720607d5b91864 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 20 Aug 2019 10:39:05 +0200 Subject: 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 --- src/vty/logging_vty.c | 5 +++-- 1 file 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); -- cgit v1.2.3