Change in osmo-ttcn3-hacks[master]: RAW_NS: f_incoming_sns_chg_weight() allow to receive/send the chg_wei...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Jun 7 12:49:52 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24578 )

Change subject: RAW_NS: f_incoming_sns_chg_weight() allow to receive/send the chg_weight over a different
......................................................................

RAW_NS: f_incoming_sns_chg_weight() allow to receive/send the chg_weight over a different

The SGSN/PCU will use a different NSVC as the NSVC which will be changed weight'ed.

Related: OS#5036
Change-Id: I5766afaa74db30d94318312ab775e7933b9df783
---
M library/RAW_NS.ttcnpp
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/library/RAW_NS.ttcnpp b/library/RAW_NS.ttcnpp
index 8f986e4..42efb7d 100644
--- a/library/RAW_NS.ttcnpp
+++ b/library/RAW_NS.ttcnpp
@@ -408,11 +408,11 @@
 }
 
 /* perform inbound SNS-CHANGE-WEIGHT procedure */
-function f_incoming_sns_chg_weight(template (omit) NsCause cause := omit, integer idx := 0)
+function f_incoming_sns_chg_weight(integer idx_chg := 0, template (omit) NsCause cause := omit, integer idx := 0)
 runs on RAW_NS_CT {
 	log("f_incoming_sns_chg_weight(idx=", idx, ")");
 	var PDU_NS rx;
-	var NSVCConfiguration nsvc_cfg := g_nsconfig.nsvc[idx];
+	var NSVCConfiguration nsvc_cfg := g_nsconfig.nsvc[idx_chg];
 
 	if (nsvc_cfg.provider.ip.address_family == AF_INET) {
 		var template IP4_Elements v4_elem := { tr_SNS_IPv4(nsvc_cfg.provider.ip.remote_ip,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24578
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I5766afaa74db30d94318312ab775e7933b9df783
Gerrit-Change-Number: 24578
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210607/87b0187b/attachment.htm>


More information about the gerrit-log mailing list