diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-13 23:53:59 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-13 23:53:59 +0100 |
commit | 203a6eddf836f8b79e6acd63221379abecb763c9 (patch) | |
tree | b9ed9a0644aa4d71b0995792ddd34495fd200fe2 /openbsc | |
parent | 56ef6249e3471c39e2e2da1a5811168ab6170e9e (diff) |
[mgcp] Warn about unknown messages...
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/bsc_mgcp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/bsc_mgcp.c b/openbsc/src/bsc_mgcp.c index d72f2995e..0880aecd4 100644 --- a/openbsc/src/bsc_mgcp.c +++ b/openbsc/src/bsc_mgcp.c @@ -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 |