diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-30 13:32:05 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-30 13:34:15 +0800 |
commit | a581136f73e16592b33f726464518803ea45bd72 (patch) | |
tree | 0123f4faef2d85248b826ab3788a30112cf04e0e /openbsc/src/mgcp | |
parent | a4b446b4596a243363b386ca8f26b63d0fb005dc (diff) |
[misc] Remove spaces, fix indention.
Diffstat (limited to 'openbsc/src/mgcp')
-rw-r--r-- | openbsc/src/mgcp/mgcp_network.c | 2 | ||||
-rw-r--r-- | openbsc/src/mgcp/mgcp_vty.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c index 73356f759..cd745a7c4 100644 --- a/openbsc/src/mgcp/mgcp_network.c +++ b/openbsc/src/mgcp/mgcp_network.c @@ -151,7 +151,7 @@ static int rtp_data_cb(struct bsc_fd *fd, unsigned int what) */ #warning "Slight spec violation. With connection mode recvonly we should attempt to forward." dest = memcmp(&addr.sin_addr, &endp->remote, sizeof(addr.sin_addr)) == 0 && - (endp->net_rtp == addr.sin_port || endp->net_rtcp == addr.sin_port) + (endp->net_rtp == addr.sin_port || endp->net_rtcp == addr.sin_port) ? DEST_BTS : DEST_NETWORK; proto = fd == &endp->local_rtp ? PROTO_RTP : PROTO_RTCP; diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c index bf5d15f0b..5b90d524b 100644 --- a/openbsc/src/mgcp/mgcp_vty.c +++ b/openbsc/src/mgcp/mgcp_vty.c @@ -306,8 +306,8 @@ int mgcp_parse_config(const char *config_file, struct mgcp_config *cfg) /* * This application supports two modes. - * 1.) a true MGCP gateway with support for AUEP, CRCX, MDCX, DLCX - * 2.) plain forwarding of RTP packets on the endpoints. + * 1.) a true MGCP gateway with support for AUEP, CRCX, MDCX, DLCX + * 2.) plain forwarding of RTP packets on the endpoints. * both modes are mutual exclusive */ if (g_cfg->forward_ip) { |