aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat/bsc_nat.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2013-08-02 21:14:14 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-27 12:21:43 +0200
commit326b5d80b38727b1f7b840d00c90ac135d0d638c (patch)
tree985796d0b9b2e88c77814469f62b9c079f726f3d /openbsc/src/osmo-bsc_nat/bsc_nat.c
parentd81fec021ee11c3d818044b4494317e6ed81cfb7 (diff)
libmgcp: add enum mgcp_role
This enum indicates if the mgcp is running on the BSC or the BSC-NAT.
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_nat.c')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index 897c657d1..1eac9837c 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -1515,7 +1515,7 @@ int main(int argc, char **argv)
/* init vty and parse */
telnet_init(tall_bsc_ctx, NULL, 4244);
- if (mgcp_parse_config(config_file, nat->mgcp_cfg) < 0) {
+ if (mgcp_parse_config(config_file, nat->mgcp_cfg, MGCP_BSC_NAT) < 0) {
fprintf(stderr, "Failed to parse the config file: '%s'\n", config_file);
return -3;
}