summaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp/mgcp_network.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-01 18:53:05 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-01 18:53:05 +0100
commit774f0723bf74448288b061502a03095b7c425dff (patch)
treea7d9b07886493c79f1c4d32c6ce4877dff4e0ddf /openbsc/src/mgcp/mgcp_network.c
parent88c6eeaa7d117dc270da1c29c131e192c0b49c8c (diff)
[mgcp] Do not print potentially many messages...
Diffstat (limited to 'openbsc/src/mgcp/mgcp_network.c')
-rw-r--r--openbsc/src/mgcp/mgcp_network.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c
index b76ca4732..924e6fc44 100644
--- a/openbsc/src/mgcp/mgcp_network.c
+++ b/openbsc/src/mgcp/mgcp_network.c
@@ -125,10 +125,8 @@ static int rtp_data_cb(struct bsc_fd *fd, unsigned int what)
}
/* do not forward aynthing... maybe there is a packet from the bts */
- if (endp->ci == CI_UNUSED) {
- LOGP(DMGCP, LOGL_ERROR, "Unknown message on endpoint: 0x%x\n", ENDPOINT_NUMBER(endp));
+ if (endp->ci == CI_UNUSED)
return -1;
- }
/*
* Figure out where to forward it to. This code assumes that we