From a52ff459ec4995f0a529ba62581f374cf95fa7e6 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 14 May 2010 19:11:04 +0200 Subject: [VTY] Introduce "end" command that works from any level in config Using "end" you can always return to the "enable" level, and from there the "show" commands are available. So no more need for exit/exit/exit/exit/disable. --- openbsc/src/gprs/gprs_ns_vty.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/src/gprs') diff --git a/openbsc/src/gprs/gprs_ns_vty.c b/openbsc/src/gprs/gprs_ns_vty.c index b18e6517..410c35f6 100644 --- a/openbsc/src/gprs/gprs_ns_vty.c +++ b/openbsc/src/gprs/gprs_ns_vty.c @@ -283,6 +283,7 @@ int gprs_ns_vty_init(struct gprs_ns_inst *nsi) install_node(&ns_node, config_write_ns); install_default(NS_NODE); install_element(NS_NODE, &ournode_exit_cmd); + install_element(NS_NODE, &ournode_end_cmd); install_element(NS_NODE, &cfg_nse_nsvci_cmd); install_element(NS_NODE, &cfg_nse_remoteip_cmd); install_element(NS_NODE, &cfg_nse_remoteport_cmd); -- cgit v1.2.3