diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index db514a410..c603b7ba3 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -47,10 +47,10 @@ private function f_enc_IMSI_L3(hexstring digits) return IMSI_L3 { var integer len := lengthof(digits); if (len rem 2 == 1) { /* modulo remainder */ l3.oddevenIndicator := '1'B; - l3.fillerDigit := '1111'B; + l3.fillerDigit := omit; } else { l3.oddevenIndicator := '0'B; - l3.fillerDigit := omit; + l3.fillerDigit := '1111'B; } l3.digits := digits; return l3;