pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28154 )


Change subject: library/DIAMETER: Rename template to follow naming style
......................................................................

library/DIAMETER: Rename template to follow naming style

Change-Id: I1c7cfbea25a2da99813aa3c4f8a5760c4185ee26
---
M library/DIAMETER_Emulation.ttcn
M library/DIAMETER_Templates.ttcn
2 files changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/library/DIAMETER_Emulation.ttcn b/library/DIAMETER_Emulation.ttcn
index 8fb7230..748b452 100644
--- a/library/DIAMETER_Emulation.ttcn
+++ b/library/DIAMETER_Emulation.ttcn
@@ -240,7 +240,7 @@
                        return omit;
                }
                var AVP_Grouped grp := 
valueof(sid_avp.avp_data.avp_DCC_NONE_Subscription_Id);
-               if (not match(grp[0], tr_SubcrIdType(END_USER_IMSI))) {
+               if (not match(grp[0], tr_AVP_SubcrIdType(END_USER_IMSI))) {
                        return omit;
                }
                return 
str2hex(oct2char(grp[1].avp.avp_data.avp_DCC_NONE_Subscription_Id_Data));
diff --git a/library/DIAMETER_Templates.ttcn b/library/DIAMETER_Templates.ttcn
index 24b9cd8..510a3d4 100644
--- a/library/DIAMETER_Templates.ttcn
+++ b/library/DIAMETER_Templates.ttcn
@@ -195,7 +195,7 @@
        vendor_id := vendor_id_3GPP
 }

-template (present) GenericAVP tr_SubcrIdType(template (present) 
DCC_NONE_Subscription_Id_Type t) := {
+template (present) GenericAVP tr_AVP_SubcrId(template (present) 
DCC_NONE_Subscription_Id t) := {
        avp := {
                avp_header := 
tr_DIA_Hdr(c_AVP_Code_DCC_NONE_Subscription_Id_Type),
                avp_data := {

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28154
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: I1c7cfbea25a2da99813aa3c4f8a5760c4185ee26
Gerrit-Change-Number: 28154
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to