summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-06-19 17:32:46 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-06-19 22:20:35 +0700
commit52f8b6ee1dba92677653d2c373ec036ff948ae9e (patch)
treef4792cf5fa7282c44392e71beef7dc8dca57b0c8 /library
parentb59ae2dfcff529abaf50444202f21099d89ee2de (diff)
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
Diffstat (limited to 'library')
-rw-r--r--library/L3_Templates.ttcn2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index d0f1406..9d6d3c3 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);
}