pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/42044?usp=email )
Change subject: cosmetic: xua_rkm: Improve description of adding ASP to AS ......................................................................
cosmetic: xua_rkm: Improve description of adding ASP to AS
Change-Id: I57c6a810e081b0968cf2dc24357214a4cebe533b --- M src/xua_rkm.c 1 file changed, 4 insertions(+), 1 deletion(-)
Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
diff --git a/src/xua_rkm.c b/src/xua_rkm.c index cf4e508..038098f 100644 --- a/src/xua_rkm.c +++ b/src/xua_rkm.c @@ -308,7 +308,10 @@ } }
- /* Success: Add just-create AS to connected ASP + report success */ + /* Make sure ASP is associated to AS: + * - If AS was just created + * - If we just learned through RKM that this ASP is serving this AS (rctx) + */ if (ss7_as_add_asp(as, asp) < 0) { LOGPASP(asp, DLSS7, LOGL_ERROR, "RKM: Cannot associate ASP to AS %s\n", as->cfg.name); msgb_append_reg_res(resp, rk_id, M3UA_RKM_REG_ERR_INSUFF_RESRC, 0);