diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-06 12:00:43 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-06 12:03:05 +0200 |
commit | 06d353e02e6d2e5a4328fd37042b0c623c945031 (patch) | |
tree | 833b0f7d511e1968a57066bb361c1225b79f8a2c | |
parent | dfe47549c683b58f3af060ae3274bc450cf99853 (diff) |
[mgcp] Add the logging commands for the MGCP command.
-rw-r--r-- | openbsc/src/Makefile.am | 2 | ||||
-rw-r--r-- | openbsc/src/mgcp/mgcp_main.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/Makefile.am b/openbsc/src/Makefile.am index e3a2e45d2..d9ffa8d0f 100644 --- a/openbsc/src/Makefile.am +++ b/openbsc/src/Makefile.am @@ -47,7 +47,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 685285110..802e16e21 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; } |