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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Mon Jan 16 16:07:24 UTC 2017


Review at  https://gerrit.osmocom.org/1613

Print subcriber when skipping auth

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


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/13/1613/1

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: newchange
Gerrit-Change-Id: I6ae6720afc04cc3c92ceff86e5b2a5a29494aeb1
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list