summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-12 16:11:25 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-23 22:27:37 +0100
commit02ea176dff9e5b776a1c32499bdd8cb70aaac274 (patch)
tree3f69c631a9fbd33b3321d704b2b56fcf10493bb5
parent704b20ed605d80c6e6bf824387ac9c881ba962b4 (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 c84cefcbe..f643472e7 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -314,8 +314,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