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-02-01 13:16:44 +0100 |
commit | 9b28fc8be293e1ca1c11edb541881657b0d3d9e9 (patch) | |
tree | fc3db7be6bbf6affd0b0d542356d3a782b70aef8 | |
parent | bd5130d3c1e274fe044b2f60713d1b664ee8ecff (diff) |
[mgcp] Warn about unknown messages...
-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 66c8d74ed..a16c03cc2 100644 --- a/openbsc/src/bsc_mgcp.c +++ b/openbsc/src/bsc_mgcp.c @@ -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 |