aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_vty.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 13:01:22 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 13:08:32 +0200
commit571ba8e4daafebd12fb64a99bba4a4bcc976872c (patch)
tree9085cd998cf7d21c1eb2552b228947d0dcbdb282 /openbsc/src/nat/bsc_nat_vty.c
parentbed6234e269aa782e5a1a78edf5f39e048059300 (diff)
nat: Add MGCP code and parsing to the nat code..
For the nat we will have NAT and MGCP in the same process and this commit starts with that. We are linking in the MGCP code and one can embed MGCP config snippets...
Diffstat (limited to 'openbsc/src/nat/bsc_nat_vty.c')
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index 6dae0d65c..3a468e9fa 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -25,6 +25,7 @@
#include <openbsc/bsc_nat.h>
#include <openbsc/gsm_04_08.h>
+#include <openbsc/mgcp.h>
#include <osmocore/talloc.h>
@@ -208,6 +209,8 @@ int bsc_nat_vty_init(struct bsc_nat *nat)
install_element(BSC_NODE, &cfg_bsc_token_cmd);
install_element(BSC_NODE, &cfg_bsc_lac_cmd);
+ mgcp_vty_init();
+
return 0;
}