Log expected SRES on GPRS AUTH REJECT

Change-Id: I19b0001650979bf7f1832f04f9fd5a26beb577d0
This commit is contained in:
Max 2017-01-13 19:18:52 +01:00
parent 98bc7fa50d
commit 3d07aef800
1 changed files with 3 additions and 1 deletions

View File

@ -640,7 +640,9 @@ static int gsm48_rx_gmm_auth_ciph_resp(struct sgsn_mm_ctx *ctx,
memcmp(TLVP_VAL(&tp, GSM48_IE_GMM_AUTH_SRES), at->vec.sres,
sizeof(at->vec.sres)) != 0) {
LOGMMCTXP(LOGL_NOTICE, ctx, "Received SRES doesn't match\n");
LOGMMCTXP(LOGL_NOTICE, ctx, "Received SRES doesn't match "
"expected RES %s\n", osmo_hexdump(at->vec.sres,
sizeof(at->vec.sres)));
rc = gsm48_tx_gmm_auth_ciph_rej(ctx);
mm_ctx_cleanup_free(ctx, "GPRS AUTH AND CIPH REJECT");
return rc;