aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-06-06 23:14:03 +0200
committerAlexander Couzens <lynxis@fe80.eu>2021-06-07 01:11:13 +0200
commit2d10ee65e4de3b2a17035593bea100960a4c1d9f (patch)
tree360764a362decb638811288b174bc113d492935e
parent6f17ecc877112f11f5e6216b423484cb4718888c (diff)
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
-rw-r--r--library/RAW_NS.ttcnpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/RAW_NS.ttcnpp b/library/RAW_NS.ttcnpp
index 8f986e4f..42efb7d5 100644
--- a/library/RAW_NS.ttcnpp
+++ b/library/RAW_NS.ttcnpp
@@ -408,11 +408,11 @@ runs on RAW_NS_CT {
}
/* 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,