gsm_r: Fix byte/nibble ordering of predefined_value1

Change-Id: Ia0dd8994556548a17a0a3101225c23e804511717
Related: OS#5784
This commit is contained in:
Harald Welte 2023-01-24 16:52:29 +01:00
parent 6bf2d5f216
commit 73a7fea357
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ class EF_Predefined(LinFixedEF):
# header and other records have different structure. WTF !?!
construct_first = Struct('next_table_type'/NextTableType,
'id_of_next_table'/HexAdapter(Bytes(2)))
construct_others = Struct('predefined_value1'/HexAdapter(Bytes(2)),
construct_others = Struct('predefined_value1'/BcdAdapter(Bytes(2)),
'string_table_index1'/Int8ub)
def __init__(self, fid, name, desc):