diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-04 18:12:37 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-04 18:12:37 +0200 |
commit | ef0b641f63ce78f3e2e85ab5c243d033a5504429 (patch) | |
tree | 9489c43df13f9142aeefa7d498780f1a6ce9df13 /openbsc | |
parent | 27e0bfd3c73d5e4017000a775d2a9cadbba3cb65 (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')
-rw-r--r-- | openbsc/src/input/ipaccess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/input/ipaccess.c b/openbsc/src/input/ipaccess.c index 91d75633f..387c5bac3 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 }; |