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


Change subject: library/DIAMETER: Fixes in ts_AVP_3GPP_ApnConfig
......................................................................

library/DIAMETER: Fixes in ts_AVP_3GPP_ApnConfig

Id used was wrong. Order of AVPs was also wrong.

Change-Id: Iddef433d11d2886679edcf73939d620d077d1529
---
M library/DIAMETER_Templates.ttcn
1 file changed, 14 insertions(+), 3 deletions(-)



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

diff --git a/library/DIAMETER_Templates.ttcn b/library/DIAMETER_Templates.ttcn
index 8bb53e0..1e29120 100644
--- a/library/DIAMETER_Templates.ttcn
+++ b/library/DIAMETER_Templates.ttcn
@@ -904,13 +904,13 @@
 template (value) GenericAVP ts_AVP_3GPP_ApnConfig(uint32_t ctx, 
AAA_3GPP_PDN_Type pdn_type,
                                                  charstring apn) := {
        avp := {
-               avp_header := 
ts_DIA_Hdr_3GPP(c_AVP_Code_AAA_3GPP_APN_Configuration_Profile),
+               avp_header := 
ts_DIA_Hdr_3GPP(c_AVP_Code_AAA_3GPP_APN_Configuration),
                avp_data := {
                        avp_AAA_3GPP_APN_Configuration := {
                                ts_AVP_3GPP_ContextId(ctx),
                                ts_AVP_3GPP_PdnType(pdn_type),
-                               ts_AVP_3GPP_EpsSubscrQosProfile(1, 1),
-                               ts_AVP_ServiceSelection(apn)
+                               ts_AVP_ServiceSelection(apn),
+                               ts_AVP_3GPP_EpsSubscrQosProfile(1, 1)
                        }
                }
        }

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34717?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: Iddef433d11d2886679edcf73939d620d077d1529
Gerrit-Change-Number: 34717
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to