[MERGED] libosmocore[master]: vty: 'ctrl' node: add missing default commands like list, exi...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Aug 29 11:35:07 UTC 2017


Harald Welte has submitted this change and it was merged.

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


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I72569ed767b6a4d792b2867d02caa65520e27cd3
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list