pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43295?usp=email )


Change subject: pgw: Remove duplicated funcs from Osmocom_Types.ttcn
......................................................................

pgw: Remove duplicated funcs from Osmocom_Types.ttcn

Change-Id: I75aa3dbeef15eb37abcdbf642cf0785bd17de794
---
M pgw/PGW_Tests.ttcn
1 file changed, 0 insertions(+), 16 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/95/43295/1

diff --git a/pgw/PGW_Tests.ttcn b/pgw/PGW_Tests.ttcn
index 612073b..0c214fe 100644
--- a/pgw/PGW_Tests.ttcn
+++ b/pgw/PGW_Tests.ttcn
@@ -363,22 +363,6 @@
        fn.apply();
 }

-private function f_concat_pad(integer tot_len, hexstring prefix, integer 
suffix) return hexstring {
-       var integer suffix_len := tot_len - lengthof(prefix);
-       var charstring suffix_ch := int2str(suffix);
-       var integer pad_len := suffix_len - lengthof(suffix_ch);
-
-       return prefix & int2hex(0, pad_len) & str2hex(suffix_ch);
-}
-
-function f_gen_imei(integer suffix) return hexstring {
-       return f_concat_pad(14, '49999'H, suffix);
-}
-
-function f_gen_imsi(integer suffix) return hexstring {
-       return f_concat_pad(15, '26242'H, suffix);
-}
-
 /* S6b emulation (AAA-Server) */
 private altstep as_DIA_S6b_AAR() runs on PGW_Session_CT {
        var PDU_DIAMETER rx_dia;

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43295?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I75aa3dbeef15eb37abcdbf642cf0785bd17de794
Gerrit-Change-Number: 43295
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to