diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/auc.c | 2 | ||||
-rw-r--r-- | src/db_auc.c | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -97,6 +97,8 @@ int auc_compute_vectors(struct osmo_auth_vector *vec, unsigned int num_vec, DBGP("3G: %s = %s\n", aud3g->u.umts.opc_is_op? "OP" : "opc", hexb(aud3g->u.umts.opc)); + DBGP("3G: for sqn ind %u, previous sqn was %" PRIu64 "\n", + aud3g->u.umts.ind, aud3g->u.umts.sqn); } if (aud2g) DBGP("2G: ki = %s\n", hexb(aud2g->u.gsm.ki)); diff --git a/src/db_auc.c b/src/db_auc.c index 8a369b5..f532b83 100644 --- a/src/db_auc.c +++ b/src/db_auc.c @@ -223,7 +223,8 @@ int db_get_auc(struct db_context *dbc, const char *imsi, /* Update SQN in database, as needed */ if (aud3g.algo) { - LOGAUC(imsi, LOGL_DEBUG, "Updating SQN in DB\n"); + LOGAUC(imsi, LOGL_DEBUG, "Updating SQN=%" PRIu64 " in DB\n", + aud3g.u.umts.sqn); rc = db_update_sqn(dbc, subscr_id, aud3g.u.umts.sqn); /* don't tell caller we generated any triplets in case of * update error */ |