aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-12 16:11:25 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-12 16:05:05 +0100
commitc8f00fa50d8b2d79160611625c651543f382d125 (patch)
treede4ac11af4fb058c3beff9192181e0479b099a79
parentf875e7843c00f30c8718a4f9cabd538c60e3eeef (diff)
auth log
-rw-r--r--openbsc/src/libmsc/gsm_04_08.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 515ff84ba..2068f7d2f 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -312,8 +312,10 @@ static bool subscr_regexp_check(const struct gsm_network *net, const char *imsi)
static bool authorize_subscriber(struct gsm_loc_updating_operation *loc,
struct gsm_subscriber *subscriber)
{
- if (!subscriber)
+ if (!subscriber) {
+ LOGP(DMM, LOGL_DEBUG, "authorize_subscriber() on NULL subscriber\n");
return false;
+ }
/*
* Do not send accept yet as more information should arrive. Some