aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@soleta.eu>2014-08-28 14:48:47 +0200
committerPablo Neira Ayuso <pablo@soleta.eu>2014-08-28 14:50:48 +0200
commita1efcc26cbc7eace52072787b8372b57a0bf375d (patch)
treea18ad7237b4d84d156aabe50b4ad763ab7e0cd2d /openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
parent72b187be6dcd16427677beaaaaa5080ffaf9188c (diff)
osmux: remove redundant log message when bsc doesn't want to use Osmux
Remove redundant information log message: <000b> bsc_mgcp_utils.c:647 BSC doesn't want to use Osmux, failing back to RTP <000b> bsc_mgcp_utils.c:669 bsc didn't accept to use Osmux (cid=0) One single log message is just fine. The error path already indicates the precise reason not to accept the request to use Osmux.
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
index 606ac92d..d5803978 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
@@ -654,7 +654,7 @@ static void bsc_mgcp_osmux_confirm(struct mgcp_endpoint *endp, const char *str)
}
if (endp->osmux.cid != osmux_cid) {
- LOGP(DMGCP, LOGL_INFO,
+ LOGP(DMGCP, LOGL_ERROR,
"BSC sent us wrong CID %u, we expected %u",
osmux_cid, endp->osmux.cid);
goto err;
@@ -664,8 +664,6 @@ static void bsc_mgcp_osmux_confirm(struct mgcp_endpoint *endp, const char *str)
osmux_cid);
return;
err:
- LOGP(DMGCP, LOGL_NOTICE, "bsc didn't accept to use Osmux (cid=%u)\n",
- osmux_cid);
osmux_put_cid(endp->osmux.cid);
endp->osmux.cid = -1;
endp->osmux.state = OSMUX_STATE_DISABLED;