diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-08-06 12:38:10 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-08 09:21:45 +0200 |
commit | da4b492f56c3e117180e38ffdde4007d83fea950 (patch) | |
tree | d6ab808e6f4c99359196d355bb545c6e1a62a48b /openbsc/tests/gbproxy/gbproxy_test.c | |
parent | 477c69a9c5191f3afc0e91f0dca118d2d9c8f9cf (diff) |
gbproxy/test: Fix BSSGP RESET message size
The given msg array size doesn't match the initializer's size.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/tests/gbproxy/gbproxy_test.c')
-rw-r--r-- | openbsc/tests/gbproxy/gbproxy_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c index 10f3a2650..a3768ae17 100644 --- a/openbsc/tests/gbproxy/gbproxy_test.c +++ b/openbsc/tests/gbproxy/gbproxy_test.c @@ -346,7 +346,7 @@ static void send_bssgp_reset(struct gprs_ns_inst *nsi, struct sockaddr_in *src_a { /* GPRS Network Service, PDU type: NS_UNITDATA, BVCI 0 * BSSGP RESET */ - unsigned char msg[22] = { + unsigned char msg[18] = { 0x22, 0x04, 0x82, 0x4a, 0x2e, 0x07, 0x81, 0x08, 0x08, 0x88, 0x11, 0x22, 0x33, 0x40, 0x50, 0x60, 0x10, 0x00 |