Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte2018-10-25 21:02:39 +0000
committerHarald Welte2019-04-03 14:30:57 +0000
commit0d859b5134dbc932b603908fc8fed23875fe55d5 (patch)
tree15ee46f4778f30e1f47fa168fa8336b137320408
parent8de319612dd5591ded567066ed2e08673573adeb (diff)
downloadtitan.ProtocolModules.SGsAP_13.2.0-0d859b5134dbc932b603908fc8fed23875fe55d5.tar.gz
titan.ProtocolModules.SGsAP_13.2.0-0d859b5134dbc932b603908fc8fed23875fe55d5.tar.xz
titan.ProtocolModules.SGsAP_13.2.0-0d859b5134dbc932b603908fc8fed23875fe55d5.zip
VLR_Name and MME_Name contain DNS-encoded hostnames, not charstrings
TS 29.118 Section 9.4.13 is very clear abou the MME name, i.e. that it is encoded as a DNS name, with each label prefixed by the binary length of the given label. However, the MME_Name and VLR_Name types in SGsAP_Types.ttcn so far were defined as "charstring", which is incompatible with the above. Change-Id: Ic38234ee1469b557d46397f54fad80241b692baa Signed-off-by: Harald Welte <laforge@gnumonks.org>
-rw-r--r--src/SGsAP_Types.ttcn4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SGsAP_Types.ttcn b/src/SGsAP_Types.ttcn
index a7b9d19..a38a93f 100644
--- a/src/SGsAP_Types.ttcn
+++ b/src/SGsAP_Types.ttcn
@@ -289,7 +289,7 @@ type record MME_Name
{
BIT8 iEI,
LIN1 lengthIndicator,
- charstring name
+ octetstring name
} with {
variant "PRESENCE (iEI = '00001001'B)";
variant (lengthIndicator) "LENGTHTO (name)"
@@ -678,7 +678,7 @@ type record VLR_Name
{
BIT8 iEI,
LIN1 lengthIndicator,
- charstring name
+ octetstring name
} with {
variant "PRESENCE (iEI = '00000010'B)";
variant (lengthIndicator) "LENGTHTO (name)"

Back to the top