commit | 5368b676dd5536a093aa2a6c06b262ffc4a0b2bf | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Jan 13 23:53:59 2010 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Feb 01 13:16:44 2010 +0100 |
tree | fc3db7be6bbf6affd0b0d542356d3a782b70aef8 | |
parent | 089c7f5107e1f327628e2039f9c83223f500f65b [diff] [blame] |
[mgcp] Warn about unknown messages...
diff --git a/openbsc/src/bsc_mgcp.c b/openbsc/src/bsc_mgcp.c index 66c8d74..a16c03c 100644 --- a/openbsc/src/bsc_mgcp.c +++ b/openbsc/src/bsc_mgcp.c
@@ -238,8 +238,10 @@ } /* 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