aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-06 12:00:43 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 22:55:17 +0200
commit441273766a4c7842b457f19bad3375e9acccc842 (patch)
tree65a6b683277804778341512cf894d038ace382db
parent014136da471cb9abd8440125f564c2832ea32626 (diff)
[mgcp] Add the logging commands for the MGCP command.
-rw-r--r--openbsc/src/Makefile.am2
-rw-r--r--openbsc/src/mgcp/mgcp_main.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/Makefile.am b/openbsc/src/Makefile.am
index f4d1c01a1..2c1d37a04 100644
--- a/openbsc/src/Makefile.am
+++ b/openbsc/src/Makefile.am
@@ -42,7 +42,7 @@ ipaccess_config_LDADD = libbsc.a libmsc.a libbsc.a libvty.a -ldl -ldbi $(LIBCRYP
isdnsync_SOURCES = isdnsync.c
bsc_mgcp_SOURCES = mgcp/mgcp_main.c mgcp/mgcp_protocol.c mgcp/mgcp_network.c mgcp/mgcp_vty.c \
- debug.c telnet_interface.c
+ debug.c telnet_interface.c vty_interface_cmds.c
bsc_mgcp_LDADD = libvty.a
ipaccess_proxy_SOURCES = ipaccess/ipaccess-proxy.c debug.c
diff --git a/openbsc/src/mgcp/mgcp_main.c b/openbsc/src/mgcp/mgcp_main.c
index 5e337e902..80b7b543c 100644
--- a/openbsc/src/mgcp/mgcp_main.c
+++ b/openbsc/src/mgcp/mgcp_main.c
@@ -40,6 +40,7 @@
#include <openbsc/mgcp.h>
#include <openbsc/mgcp_internal.h>
#include <openbsc/telnet_interface.h>
+#include <openbsc/vty.h>
#include <vty/command.h>
@@ -255,6 +256,7 @@ int bsc_vty_init(struct gsm_network *dummy)
cmd_init(1);
vty_init();
+ openbsc_vty_add_cmds();
mgcp_vty_init();
return 0;
}