[MERGED] openbsc[master]: Print subcriber when skipping auth

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Jan 23 11:56:46 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: Print subcriber when skipping auth
......................................................................


Print subcriber when skipping auth

Change-Id: I6ae6720afc04cc3c92ceff86e5b2a5a29494aeb1
---
M openbsc/src/libmsc/auth.c
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 	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;
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/1613
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6ae6720afc04cc3c92ceff86e5b2a5a29494aeb1
Gerrit-PatchSet: 2
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list