aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-14 02:45:52 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-14 02:45:52 +0800
commitb5be7ac39cbe44e47109fd80984815cb8c763c55 (patch)
tree7c53ef844d9ba95cc39ad945b38ccc33970d1c5f /openbsc/src/mgcp
parent7373109abc9829c49eabf26e951a0ec6647666ac (diff)
[mgcp] Make show mgcp available in both modes.
Diffstat (limited to 'openbsc/src/mgcp')
-rw-r--r--openbsc/src/mgcp/mgcp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c
index 38d3daf5..dd0293a7 100644
--- a/openbsc/src/mgcp/mgcp_vty.c
+++ b/openbsc/src/mgcp/mgcp_vty.c
@@ -238,7 +238,7 @@ DEFUN(cfg_mgcp_agent_addr,
int mgcp_vty_init(void)
{
- install_element(VIEW_NODE, &show_mgcp_cmd);
+ install_element_ve(&show_mgcp_cmd);
install_element(CONFIG_NODE, &cfg_mgcp_cmd);
install_node(&mgcp_node, config_write_mgcp);