aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty_interface.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-12 16:10:35 +0000
committerHarald Welte <laforge@gnumonks.org>2010-05-12 18:28:00 +0200
commitb4d5b17a8d87d5ec5c15c3376a51154532f81017 (patch)
tree468aa7cd27e440d53bc35afca7fd96c8fd512165 /openbsc/src/vty_interface.c
parent50a6dfee37cf71e0b9b3776c04635eea16d962a3 (diff)
Ensure all 'view' commands are availalbe from 'enable' too
Diffstat (limited to 'openbsc/src/vty_interface.c')
-rw-r--r--openbsc/src/vty_interface.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 48dce9e4e..acfdd94de 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -1904,17 +1904,17 @@ int bsc_vty_init(struct gsm_network *net)
cmd_init(1);
vty_init();
- install_element(VIEW_NODE, &show_net_cmd);
- install_element(VIEW_NODE, &show_bts_cmd);
- install_element(VIEW_NODE, &show_trx_cmd);
- install_element(VIEW_NODE, &show_ts_cmd);
- install_element(VIEW_NODE, &show_lchan_cmd);
+ install_element_ve(&show_net_cmd);
+ install_element_ve(&show_bts_cmd);
+ install_element_ve(&show_trx_cmd);
+ install_element_ve(&show_ts_cmd);
+ install_element_ve(&show_lchan_cmd);
- install_element(VIEW_NODE, &show_e1drv_cmd);
- install_element(VIEW_NODE, &show_e1line_cmd);
- install_element(VIEW_NODE, &show_e1ts_cmd);
+ install_element_ve(&show_e1drv_cmd);
+ install_element_ve(&show_e1line_cmd);
+ install_element_ve(&show_e1ts_cmd);
- install_element(VIEW_NODE, &show_paging_cmd);
+ install_element_ve(&show_paging_cmd);
openbsc_vty_add_cmds();