Skip to content

Commit fe6a308

Browse files
authored
Merge pull request #33 from lunastorm/master
Fix TS 24.501, 9.11.4.10 PDUAddress wrong bit length
2 parents cd1e669 + 4094f76 commit fe6a308

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pycrate_mobile/TS24501_IE.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3110,11 +3110,11 @@ class MaxPktFilters(Envelope):
31103110

31113111
class PDUAddress(Envelope):
31123112
_GEN = (
3113-
Uint('spare', bl=5, rep=REPR_HEX),
3113+
Uint('spare', bl=4, rep=REPR_HEX),
31143114
Uint('SI6LLA', val=0, bl=1, dic={
31153115
0 : 'SMF\'s IPv6 link local address absent',
31163116
1 : 'SMF\'s IPv6 link local address present'}),
3117-
Uint('Type', val=1, bl=2, dic={1:'IPv4', 2:'IPv6', 3:'IPv4v6'}),
3117+
Uint('Type', val=1, bl=3, dic={1:'IPv4', 2:'IPv6', 3:'IPv4v6'}),
31183118
Alt('Addr', GEN={
31193119
1 : Buf('IPv4', bl=32, rep=REPR_HEX),
31203120
2 : Buf('IPv6IfId', bl=64, rep=REPR_HEX),

0 commit comments

Comments
 (0)