aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/input
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-04 18:12:37 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 23:10:38 +0200
commit6c8c0ddbe21c45f16ed996a9cb38b0fb3b9bc66f (patch)
tree5282e79016b8edc373df35ee578a93cd53b013e4 /openbsc/src/input
parent19bab73d7903d0718979aca1463503fcc185166b (diff)
[ipa] When including MGCP our messages might be bigger than 300 byte
The length field of the IPA header allows to have 16bit numbers and I just ran into the 300 byte limit with MGCP messages. Make it three times the size and see how long this is going to be enough.
Diffstat (limited to 'openbsc/src/input')
-rw-r--r--openbsc/src/input/ipaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/input/ipaccess.c b/openbsc/src/input/ipaccess.c
index 323540f48..2449e261d 100644
--- a/openbsc/src/input/ipaccess.c
+++ b/openbsc/src/input/ipaccess.c
@@ -57,7 +57,7 @@ struct ia_e1_handle {
static struct ia_e1_handle *e1h;
-#define TS1_ALLOC_SIZE 300
+#define TS1_ALLOC_SIZE 900
static const u_int8_t pong[] = { 0, 1, IPAC_PROTO_IPACCESS, IPAC_MSGT_PONG };
static const u_int8_t id_ack[] = { 0, 1, IPAC_PROTO_IPACCESS, IPAC_MSGT_ID_ACK };