aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2024-07-25 18:01:29 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2024-07-26 12:41:28 +0200
commit8f60d4bc5c9795821a5527a502e04768f53dfa4a (patch)
tree094da5e7bb14d1ab821b4badb1bcaea61c4950ea
parent861dbf16cf9585fb7e492244d9d86e804be89991 (diff)
ggsn: Fix function name
The function is used to handle a UpdatePDPCtxResp, not a Req. While at it, mark the function as private. Change-Id: Ia455af1cd64ffce53b454e611c4fc85816e785bc
-rw-r--r--ggsn_tests/GGSN_Tests.ttcn4
1 files changed, 2 insertions, 2 deletions
diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn
index 23a99248..3f373aa3 100644
--- a/ggsn_tests/GGSN_Tests.ttcn
+++ b/ggsn_tests/GGSN_Tests.ttcn
@@ -472,7 +472,7 @@ module GGSN_Tests {
setverdict(pass);
}
- function f_handle_update_req(inout PdpContext ctx, in Gtp1cUnitdata ud, in OCT1 exp_cause := '80'O) runs on GT_CT {
+ private function f_handle_update_resp(inout PdpContext ctx, in Gtp1cUnitdata ud, in OCT1 exp_cause := '80'O) runs on GT_CT {
var UpdatePDPContextResponseGGSN upr := ud.gtpc.gtpc_pdu.updatePDPContextResponse.updatePDPContextResponseGGSN;
if (exp_cause == '80'O and exp_cause == upr.cause.causevalue) {
ctx.teid_remote := upr.teidDataI.teidDataI;
@@ -828,7 +828,7 @@ module GGSN_Tests {
d := activate(pingpong());
alt {
[] GTPC.receive(tr_GTPC_MsgType(g_peer_c, updatePDPContextResponse, ctx.teic)) -> value ud {
- f_handle_update_req(ctx, ud, exp_cause);
+ f_handle_update_resp(ctx, ud, exp_cause);
}
}
deactivate(d);