pespin has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran 
refs/changes/44/42044/1

diff --git a/src/xua_rkm.c b/src/xua_rkm.c
index cf4e508..d9b1b9d 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);

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/42044?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I57c6a810e081b0968cf2dc24357214a4cebe533b
Gerrit-Change-Number: 42044
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to