<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24578">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">RAW_NS: f_incoming_sns_chg_weight() allow to receive/send the chg_weight over a different<br><br>The SGSN/PCU will use a different NSVC as the NSVC which will be changed weight'ed.<br><br>Change-Id: I5766afaa74db30d94318312ab775e7933b9df783<br>---<br>M library/RAW_NS.ttcnpp<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/78/24578/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/RAW_NS.ttcnpp b/library/RAW_NS.ttcnpp</span><br><span>index 8f986e4..42efb7d 100644</span><br><span>--- a/library/RAW_NS.ttcnpp</span><br><span>+++ b/library/RAW_NS.ttcnpp</span><br><span>@@ -408,11 +408,11 @@</span><br><span> }</span><br><span> </span><br><span> /* perform inbound SNS-CHANGE-WEIGHT procedure */</span><br><span style="color: hsl(0, 100%, 40%);">-function f_incoming_sns_chg_weight(template (omit) NsCause cause := omit, integer idx := 0)</span><br><span style="color: hsl(120, 100%, 40%);">+function f_incoming_sns_chg_weight(integer idx_chg := 0, template (omit) NsCause cause := omit, integer idx := 0)</span><br><span> runs on RAW_NS_CT {</span><br><span>      log("f_incoming_sns_chg_weight(idx=", idx, ")");</span><br><span>         var PDU_NS rx;</span><br><span style="color: hsl(0, 100%, 40%);">-  var NSVCConfiguration nsvc_cfg := g_nsconfig.nsvc[idx];</span><br><span style="color: hsl(120, 100%, 40%);">+       var NSVCConfiguration nsvc_cfg := g_nsconfig.nsvc[idx_chg];</span><br><span> </span><br><span>      if (nsvc_cfg.provider.ip.address_family == AF_INET) {</span><br><span>                var template IP4_Elements v4_elem := { tr_SNS_IPv4(nsvc_cfg.provider.ip.remote_ip,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24578">change 24578</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24578"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I5766afaa74db30d94318312ab775e7933b9df783 </div>
<div style="display:none"> Gerrit-Change-Number: 24578 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>