aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_mgcp_utils.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-08 10:24:57 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:13 +0800
commit2896df76054df42b8aa637ef381e2df81ac46a69 (patch)
treebe9a2a56d0d576b3fb432052882f6ba1e318a399 /openbsc/src/nat/bsc_mgcp_utils.c
parentce512c547305e64a28fd126752353c8f1eb785fa (diff)
nat: Attempt to have a single BSC write method
This method currently prepends the IPA header and sends the data. In the future we might be able to use SCTP for it. We have to remove the IPA header from the static messages for that to work. This code is untested.
Diffstat (limited to 'openbsc/src/nat/bsc_mgcp_utils.c')
-rw-r--r--openbsc/src/nat/bsc_mgcp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c
index 81465cae9..a273af46d 100644
--- a/openbsc/src/nat/bsc_mgcp_utils.c
+++ b/openbsc/src/nat/bsc_mgcp_utils.c
@@ -177,7 +177,7 @@ int bsc_mgcp_policy_cb(struct mgcp_config *cfg, int endpoint, int state, const c
mgcp_free_endp(mgcp_endp);
}
- bsc_write_mgcp_msg(bsc_con, bsc_msg);
+ bsc_write(bsc_con, bsc_msg, NAT_IPAC_PROTO_MGCP);
return MGCP_POLICY_DEFER;
}