pespin submitted this change.
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
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
---
M ggsn_tests/GGSN_Tests.ttcn
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn
index 23a9924..3f373aa 100644
--- a/ggsn_tests/GGSN_Tests.ttcn
+++ b/ggsn_tests/GGSN_Tests.ttcn
@@ -472,7 +472,7 @@
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 @@
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);
To view, visit change 37616. To unsubscribe, or for help writing mail filters, visit settings.