aboutsummaryrefslogtreecommitdiffstats
path: root/src/hlr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hlr.c')
-rw-r--r--src/hlr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hlr.c b/src/hlr.c
index bcae3b5..58f94f3 100644
--- a/src/hlr.c
+++ b/src/hlr.c
@@ -71,6 +71,9 @@ static int rx_send_auth_info(struct osmo_gsup_conn *conn,
gsup_out.message_type = OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR;
switch (rc) {
case 0:
+ /* 0 means "0 tuples generated", which shouldn't happen.
+ * Treat the same as "no auth data". */
+ case -ENOKEY:
case -ENOENT:
gsup_out.cause = GMM_CAUSE_IMSI_UNKNOWN;
break;