diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-14 18:59:17 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-14 18:59:17 +0200 |
commit | 62ab20c5dd85bb8c14a44af73b674494447318e7 (patch) | |
tree | b030427bde17387c6159d8712d74f91bf62edfa5 /openbsc/src/mgcp | |
parent | 197dea95ff55acd86d5800f5a1cf7e339b24064d (diff) |
[VTY] Remove OpenBSC specific node-exit handling from src/vty
The idea is to move the VTY code into libosmocore at some point,
and for that we need to eliminate OpenBSC specifics from it
Diffstat (limited to 'openbsc/src/mgcp')
-rw-r--r-- | openbsc/src/mgcp/mgcp_vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c index dd0293a75..6d2aff074 100644 --- a/openbsc/src/mgcp/mgcp_vty.c +++ b/openbsc/src/mgcp/mgcp_vty.c @@ -29,6 +29,7 @@ #include <openbsc/debug.h> #include <openbsc/mgcp.h> #include <openbsc/mgcp_internal.h> +#include <openbsc/vty.h> #include <vty/command.h> #include <vty/vty.h> @@ -243,6 +244,7 @@ int mgcp_vty_init(void) install_element(CONFIG_NODE, &cfg_mgcp_cmd); install_node(&mgcp_node, config_write_mgcp); install_default(MGCP_NODE); + install_element(MGCP_NODE, &ournode_exit_cmd); install_element(MGCP_NODE, &cfg_mgcp_local_ip_cmd); install_element(MGCP_NODE, &cfg_mgcp_bts_ip_cmd); install_element(MGCP_NODE, &cfg_mgcp_bind_ip_cmd); |