gbproxy/test: Fix Identification Response

At one place, the reply to the second Ident Req contains the wrong
IMSI. That is fixed by this patch.

Sponsored-by: On-Waves ehf
This commit is contained in:
Jacob Erlbeck 2014-09-17 12:05:08 +02:00
parent 0a6ea847bf
commit 9aa21cdd24
2 changed files with 4 additions and 4 deletions

View File

@ -2673,7 +2673,7 @@ static void test_gbproxy_secondary_sgsn()
send_llc_ul_ui(nsi, "IDENT RESPONSE", &bss_peer[0], 0x1002,
foreign_bss_tlli2, &rai_bss, cell_id,
GPRS_SAPI_GMM, bss_nu++,
dtap_identity_resp, sizeof(dtap_identity_resp));
dtap_identity2_resp, sizeof(dtap_identity2_resp));
dump_peers(stdout, 0, 0, &gbcfg);

View File

@ -4055,14 +4055,14 @@ Peers:
TLLI 8000beef -> 7eb52dfb, IMSI 12199999961718, AGE 0, IMSI matches
TLLI c00f7304 -> efe2b700, IMSI 12131415161718, AGE 0
PROCESSING IDENT RESPONSE from 0x01020304:1111
00 00 10 02 01 80 00 be ef 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 11 01 c0 19 08 16 08 11 12 13 14 15 16 17 18 35 23 fc
00 00 10 02 01 80 00 be ef 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 11 01 c0 19 08 16 08 11 12 99 99 99 16 17 18 a5 cc b3
CALLBACK, event 0, msg length 40, bvci 0x1002
00 00 10 02 01 80 00 be ef 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 11 01 c0 19 08 16 08 11 12 13 14 15 16 17 18 35 23 fc
00 00 10 02 01 80 00 be ef 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 11 01 c0 19 08 16 08 11 12 99 99 99 16 17 18 a5 cc b3
NS UNITDATA MESSAGE to SGSN 2, BVCI 0x1002, msg length 40 (gprs_ns_sendmsg)
MESSAGE to SGSN 2 at 0x15161718:32001, msg length 44
00 00 10 02 01 7e b5 2d fb 00 00 04 08 88 21 63 54 40 50 60 12 34 00 80 0e 00 11 01 c0 19 08 16 08 11 12 13 14 15 16 17 18 35 23 fc
00 00 10 02 01 7e b5 2d fb 00 00 04 08 88 21 63 54 40 50 60 12 34 00 80 0e 00 11 01 c0 19 08 16 08 11 12 99 99 99 16 17 18 a5 cc b3
result (IDENT RESPONSE) = 0