laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/38009?usp=email )


Change subject: pySim.esim.saip: Fix weird DF names
......................................................................

pySim.esim.saip: Fix weird DF names

Sometimes the struct member is called like df-telecom, but in other
cases it's called df-df-saip  with a double 'df' in front.  That makes
no sense, but we have to deal with it from our constructors...

Change-Id: If5e670441f03a47fa34e97a326909b24927c12f7
---
M pySim/esim/saip/__init__.py
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/09/38009/1

diff --git a/pySim/esim/saip/__init__.py b/pySim/esim/saip/__init__.py
index 47e67e8..bf39025 100644
--- a/pySim/esim/saip/__init__.py
+++ b/pySim/esim/saip/__init__.py
@@ -817,7 +817,7 @@
             return
         # provide some reasonable defaults
         self.decoded['templateID'] = str(oid.DF_5GS_v3)
-        for fname in ['df-5gs']:
+        for fname in ['df-df-5gs']:
             self.decoded[fname] = []

 class ProfileElementEAP(FsProfileElement):
@@ -841,7 +841,7 @@
             return
         # provide some reasonable defaults
         self.decoded['templateID'] = str(oid.DF_SAIP)
-        for fname in ['df-saip']:
+        for fname in ['df-df-saip']:
             self.decoded[fname] = []

 class ProfileElementDfSNPN(FsProfileElement):
@@ -853,7 +853,7 @@
             return
         # provide some reasonable defaults
         self.decoded['templateID'] = str(oid.DF_SNPN)
-        for fname in ['df-snpn']:
+        for fname in ['df-df-snpn']:
             self.decoded[fname] = []

 class ProfileElementDf5GProSe(FsProfileElement):

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

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: If5e670441f03a47fa34e97a326909b24927c12f7
Gerrit-Change-Number: 38009
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>

Reply via email to