summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-12 16:50:52 +0000
committerHarald Welte <laforge@gnumonks.org>2010-05-12 20:22:55 +0200
commitef5324fc94b8beb958ded2e9a5d31b32bc757e6b (patch)
treea15cdf946c5e4e35e9e84a0d7855d77f10120228 /openbsc
parentb2a4dbe34bdfaecd62f075479a2b4679cb591357 (diff)
use new install_element_ve()
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/gprs/gprs_ns.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gprs_ns.c b/openbsc/src/gprs/gprs_ns.c
index 9f65489f..e0ee962d 100644
--- a/openbsc/src/gprs/gprs_ns.c
+++ b/openbsc/src/gprs/gprs_ns.c
@@ -1038,8 +1038,7 @@ int gprs_ns_vty_init(struct gprs_ns_inst *nsi)
{
vty_nsi = nsi;
- install_element(VIEW_NODE, &show_ns_cmd);
- install_element(ENABLE_NODE, &show_ns_cmd);
+ install_element_ve(&show_ns_cmd);
install_element(CONFIG_NODE, &cfg_ns_cmd);
install_node(&ns_node, config_write_ns);