From 52f8b6ee1dba92677653d2c373ec036ff948ae9e Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Tue, 19 Jun 2018 17:32:46 +0700 Subject: library/L3_Templates.ttcn: fix f_facility_or_wc(omit) According to GSM TS 04.80, table 2.5, the Facility IE is optional for RELEASE COMPLETE message. So, if this IE is omitted, then the whole TVL shall be omitted. It's time to fix this. Change-Id: I216195ef71c95997708dad8c31b172b6f6cdc461 --- library/L3_Templates.ttcn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'library') diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index d0f1406b..9d6d3c31 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -1332,6 +1332,8 @@ return template Facility_TLV { return *; } else if (istemplatekind(facility, "?")) { return ?; + } else if (istemplatekind(facility, "omit")) { + return omit; } else { return tr_FacTLV(facility); } -- cgit v1.2.3