pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37616?usp=email )

 (

2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: ggsn: Fix function name
......................................................................

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(-)

Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, approved




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 https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37616?usp=email
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: Ia455af1cd64ffce53b454e611c4fc85816e785bc
Gerrit-Change-Number: 37616
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to