[mgcp] Warn about unknown messages...

This commit is contained in:
Holger Hans Peter Freyther 2010-01-13 23:53:59 +01:00
parent bd5130d3c1
commit 9b28fc8be2
1 changed files with 3 additions and 1 deletions

View File

@ -238,8 +238,10 @@ 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)
if (endp->ci == CI_UNUSED) {
DEBUGP(DMGCP, "Unknown message on endpoint: 0x%x\n", ENDPOINT_NUMBER(endp));
return -1;
}
/*
* Figure out where to forward it to. This code assumes that we