[mgcp] Warn about unknown messages...

This commit is contained in:
Holger Hans Peter Freyther
2010-01-13 23:53:59 +01:00
parent 56ef6249e3
commit 203a6eddf8

View File

@@ -239,8 +239,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