diff options
author | Max <msuraev@sysmocom.de> | 2017-01-13 19:18:52 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-01-13 19:32:22 +0100 |
commit | 3d07aef8006e3953edfee6f4e74b810ee3dc16f4 (patch) | |
tree | 736abc13d00e945e62880fa066b380eadef32767 /openbsc | |
parent | 98bc7fa50d0731864297f8fb82932d480c426ff6 (diff) |
Log expected SRES on GPRS AUTH REJECT
Change-Id: I19b0001650979bf7f1832f04f9fd5a26beb577d0
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/gprs/gprs_gmm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c index 363b45766..e3d5c7d64 100644 --- a/openbsc/src/gprs/gprs_gmm.c +++ b/openbsc/src/gprs/gprs_gmm.c @@ -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; |