aboutsummaryrefslogtreecommitdiffstats
path: root/bsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-23 02:28:34 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-23 02:29:46 +0100
commit1a40de6a7f71ff4fecb1c9d5b9c2dfa21cdd7e55 (patch)
treedeed1eb4def64b686b8d289eb92d94aaf68cdc46 /bsc
parent4532e0a14546d28d091a5c0e14f41c9f2492ad39 (diff)
MSC_ConnectionHandler: fix f_rsl_reply() for RSL_MT_ENCR_CMD
For some weird reason the link_id is *not* the second IE in RSL_MT_ENCR_CMD, while it is in all other RSL RLL or DCHAN messages. Change-Id: Iea93aa8dba74d25c74a257d011ba43308ee375e4
Diffstat (limited to 'bsc')
-rw-r--r--bsc/MSC_ConnectionHandler.ttcn2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn
index 028f1b41..51ac650a 100644
--- a/bsc/MSC_ConnectionHandler.ttcn
+++ b/bsc/MSC_ConnectionHandler.ttcn
@@ -95,7 +95,7 @@ function f_create_chan_and_exp(TestHdlrParams pars) runs on MSC_ConnHdlr {
function f_rsl_reply(template PDU_ML3_MS_NW l3, RSL_Message orig) runs on MSC_ConnHdlr {
var RslChannelNr chan_nr := orig.ies[0].body.chan_nr;
- var RslLinkId link_id := orig.ies[1].body.link_id;
+ var RslLinkId link_id;
if (orig.msg_type == RSL_MT_ENCR_CMD) {
link_id := orig.ies[2].body.link_id;
} else {