diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-05 03:46:07 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-05 06:10:58 +0800 |
commit | 196349dda18d8e6a49c318ad6659291818ad21fd (patch) | |
tree | fc57fb20b1c98d981a3072c045057479d0f46a6b /openbsc/src/mgcp/mgcp_protocol.c | |
parent | c49212778f84736f1cc59fccf7946595c629ed91 (diff) |
mgcp: Rename the base port to bts_base as it will be used for the bts
Diffstat (limited to 'openbsc/src/mgcp/mgcp_protocol.c')
-rw-r--r-- | openbsc/src/mgcp/mgcp_protocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/mgcp/mgcp_protocol.c b/openbsc/src/mgcp/mgcp_protocol.c index 69362e4b0..8dbe2b021 100644 --- a/openbsc/src/mgcp/mgcp_protocol.c +++ b/openbsc/src/mgcp/mgcp_protocol.c @@ -427,7 +427,7 @@ static struct msgb *handle_create_con(struct mgcp_config *cfg, struct msgb *msg) memset(&endp->net_end.addr, 0, sizeof(endp->net_end.addr)); /* bind to the port now */ - port = rtp_calculate_port(ENDPOINT_NUMBER(endp), cfg->rtp_base_port); + port = rtp_calculate_port(ENDPOINT_NUMBER(endp), cfg->rtp_bts_base_port); endp->bts_end.local_port = port; endp->net_end.local_port = port; @@ -708,7 +708,7 @@ struct mgcp_config *mgcp_config_alloc(void) cfg->source_addr = talloc_strdup(cfg, "0.0.0.0"); cfg->audio_name = talloc_strdup(cfg, "GSM-EFR/8000"); cfg->audio_payload = 97; - cfg->rtp_base_port = RTP_PORT_DEFAULT; + cfg->rtp_bts_base_port = RTP_PORT_DEFAULT; return cfg; } |