From 0d859b5134dbc932b603908fc8fed23875fe55d5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 25 Oct 2018 23:02:39 +0200 Subject: 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 --- src/SGsAP_Types.ttcn | 4 ++-- 1 file 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)" -- cgit v1.2.3