RSL_Types: Fix RSL_IE_Cause (missing length octet)

This commit is contained in:
Harald Welte 2017-12-09 22:34:06 +01:00
parent cfa79adb83
commit 6efa8e3940
1 changed files with 3 additions and 1 deletions

View File

@ -379,12 +379,14 @@ module RSL_Types {
/* 9.3.26 */
type uint7_t RSL_Cause;
type record RSL_IE_Cause {
uint8_t len,
uint1_t e,
RSL_Cause cause,
octetstring cause_ext optional
}
} with { variant (len) "LENGTHTO(e,cause,cause_ext)" }
template RSL_IE_Cause ts_RSL_IE_Cause(RSL_Cause cause) := {
len := 0, /* overwritten */
e := 0,
cause := cause,
cause_ext := omit