diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-05 03:27:41 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-05 06:10:57 +0800 |
commit | 217d71201206731c90d57dde089c3fd82370815b (patch) | |
tree | 40884f30814ab3378e8cdc3331b5b957aa2378d5 /openbsc/src/mgcp/mgcp_network.c | |
parent | f1a168dc2086bca48d920c45171cb6cbff9211fa (diff) |
mgcp: Rename the bind method to show it is only binding for the bts port
Diffstat (limited to 'openbsc/src/mgcp/mgcp_network.c')
-rw-r--r-- | openbsc/src/mgcp/mgcp_network.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c index 88a331c5b..2fe5f116d 100644 --- a/openbsc/src/mgcp/mgcp_network.c +++ b/openbsc/src/mgcp/mgcp_network.c @@ -337,9 +337,8 @@ cleanup0: return -1; } -int mgcp_bind_rtp_port(struct mgcp_endpoint *endp, int rtp_port) +int mgcp_bind_bts_rtp_port(struct mgcp_endpoint *endp, int rtp_port) { endp->bts_end.local_port = rtp_port; - endp->net_end.local_port = rtp_port; return bind_rtp(endp); } |