diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-18 13:43:44 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-07-21 17:54:35 +0000 |
commit | 8be4d1920dd0132678d075b6750700a7667dea77 (patch) | |
tree | c9e78cc8475d34484859df1753e746b41a5d7b79 /sgsn/SGSN_Tests.ttcn | |
parent | 940134537a11f14d1151a90a30ec24feccf742b0 (diff) |
sgsn: Remove uneeded f_gtpu_send in f_gtpu_xceive_mo
It's not needed for the functionality/scenario of f_gtpu_xceive_mo. It
probably was left in when creating it from f_gtpu_xceive_mo.
Change-Id: Ide226f8501c4598e2bfaa5f1ea62c3ff20807ce4
Diffstat (limited to 'sgsn/SGSN_Tests.ttcn')
-rw-r--r-- | sgsn/SGSN_Tests.ttcn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index d7e956fe..d76c182b 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -1117,12 +1117,12 @@ private function f_gtpu_xceive_mt(inout PdpActPars apars, octetstring payload) r } } +/* Transceive given 'payload' as MT message from Gb -> OsmoSGSN -> GTP */ private function f_gtpu_xceive_mo(inout PdpActPars apars, octetstring payload) runs on BSSGP_ConnHdlr { /* Send PDU via SNDCP/LLC/BSSGP/NS via simulated MS/PCU to the SGSN */ var GtpPeer peer := valueof(ts_GtpPeerU(apars.sgsn_ip_u)); var PDU_SN sndcp := valueof(ts_SN_UD(apars.nsapi, payload)); BSSGP.send(ts_LLC_UI(enc_PDU_SN(sndcp), apars.sapi, '0'B, 0)); - f_gtpu_send(apars, payload); /* Expect PDU via GTP from SGSN on simulated GGSN */ alt { [] GTP.receive(tr_GTPU_GPDU(peer, apars.ggsn_tei_u, payload)); |