Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/2307

to look at the new patch set (#2).

sccp_user: Make sure to create client-side AS with primary PC

When we are on the ASP (client) side, we must initialize the routing key
of the AS with the proper primary point code of the system.  Only this
way, the correct point code will be used during dynamic routing key
registration via RKM.

Change-Id: If586ac9f3449254973a19654dd13dce5793f285f
---
M src/sccp_user.c
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/07/2307/2

diff --git a/src/sccp_user.c b/src/sccp_user.c
index 57c0038..01a0638 100644
--- a/src/sccp_user.c
+++ b/src/sccp_user.c
@@ -258,6 +258,8 @@
        if (!as)
                goto out_strings;
 
+       as->cfg.routing_key.pc = pc;
+
        /* install default route */
        rt = osmo_ss7_route_create(ss7->rtable_system, 0, 0, as_name);
        if (!rt)

-- 
To view, visit https://gerrit.osmocom.org/2307
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If586ac9f3449254973a19654dd13dce5793f285f
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder

Reply via email to