diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-14 19:11:04 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-14 19:11:04 +0200 |
commit | a52ff459ec4995f0a529ba62581f374cf95fa7e6 (patch) | |
tree | 4964719c84ebb1498d4f2514af3edcdf2d452224 /openbsc/src | |
parent | 804fc81d2bc563d744dc2e7ff8aef54d6f03b974 (diff) |
[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.
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/gprs/gprs_ns_vty.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |