summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-10-22 21:37:57 +0200
committerlaforge <laforge@osmocom.org>2019-10-23 18:11:17 +0000
commit8a7c2eba437e3a6ce18b60059b652d04008bece2 (patch)
treeef2313ea428f2e29c18f37daf36d3a5d69ebc3c1
parentd98960d18972a5fcbcee448ac6742be20e0bec41 (diff)
xua_rkm: Print NOTICE log message if registration for wrong rctx
-rw-r--r--src/xua_rkm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xua_rkm.c b/src/xua_rkm.c
index f1ac551..976d649 100644
--- a/src/xua_rkm.c
+++ b/src/xua_rkm.c
@@ -258,6 +258,8 @@ static int handle_rkey_reg(struct osmo_ss7_asp *asp, struct xua_msg *inner,
newly_assigned_as[(*nas_idx)++] = as;
} else {
/* not permitted to create dynamic RKM entries */
+ LOGPASP(asp, DLSS7, LOGL_NOTICE, "RKM: RCTX %u not found in configuration, and "
+ "dynamic RKM allocation not permitted; permission denied\n", rctx);
msgb_append_reg_res(resp, rk_id, M3UA_RKM_REG_ERR_PERM_DENIED, 0);
return -1;
}