summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-01-16 16:59:48 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-23 11:56:44 +0000
commitf5e74b5988cb6fb34a71188e70adc7b6c7fea28b (patch)
tree39d9e8461a7b3c5e42600dabe1c3782396a1c39f
parentb7f41d554bd197f23824eafa751d005a22d4277b (diff)
Print subcriber when skipping auth
-rw-r--r--openbsc/src/libmsc/auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/auth.c b/openbsc/src/libmsc/auth.c
index bf62d3c..19def1e 100644
--- a/openbsc/src/libmsc/auth.c
+++ b/openbsc/src/libmsc/auth.c
@@ -92,7 +92,8 @@ int auth_get_tuple_for_subscr(struct gsm_auth_tuple *atuple,
rc = db_get_authinfo_for_subscr(&ainfo, subscr);
if (rc < 0) {
LOGP(DMM, LOGL_NOTICE,
- "No retrievable Ki for subscriber, skipping auth\n");
+ "No retrievable Ki for subscriber %s, skipping auth\n",
+ subscr_name(subscr));
return rc == -ENOENT ? AUTH_NOT_AVAIL : AUTH_ERROR;
}