From da4b492f56c3e117180e38ffdde4007d83fea950 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Wed, 6 Aug 2014 12:38:10 +0200 Subject: gbproxy/test: Fix BSSGP RESET message size The given msg array size doesn't match the initializer's size. Sponsored-by: On-Waves ehf --- openbsc/tests/gbproxy/gbproxy_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/tests/gbproxy/gbproxy_test.c') 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 -- cgit v1.2.3