Review at  https://gerrit.osmocom.org/3733

vty: 'ctrl' node: add missing default commands like list,exit,end

Change-Id: I72569ed767b6a4d792b2867d02caa65520e27cd3
---
M src/ctrl/control_vty.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/33/3733/1

diff --git a/src/ctrl/control_vty.c b/src/ctrl/control_vty.c
index a968bc0..97f42de 100644
--- a/src/ctrl/control_vty.c
+++ b/src/ctrl/control_vty.c
@@ -82,6 +82,7 @@
        ctrl_vty_ctx = ctx;
        install_element(CONFIG_NODE, &cfg_ctrl_cmd);
        install_node(&ctrl_node, config_write_ctrl);
+       vty_install_default(L_CTRL_NODE);
 
        install_element(L_CTRL_NODE, &cfg_ctrl_bind_addr_cmd);
        return 0;

-- 
To view, visit https://gerrit.osmocom.org/3733
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72569ed767b6a4d792b2867d02caa65520e27cd3
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de>

Reply via email to