[mgcp] Do not print potentially many messages...

This commit is contained in:
Holger Hans Peter Freyther 2010-03-01 18:53:05 +01:00
parent 88c6eeaa7d
commit 774f0723bf
1 changed files with 1 additions and 3 deletions

View File

@ -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