Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit da0b317

Browse files
Ayrdimp1-bmu
authored andcommitted
Addressed some issues in GTPC and PFCP codecs
1 parent 64d6fac commit da0b317

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

pycrate_mobile/TS29244_PFCP.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3115,7 +3115,7 @@ def __init__(self, *args, **kwargs):
31153115
self['IPv6Addr'].set_transauto(lambda: False if (
31163116
self['IPv6'].get_val() or self['UDP_IPv6'].get_val() or self['GTPU_UDP_IPv6'].get_val()) else True)
31173117
self['Port'].set_transauto(lambda: False if (
3118-
self['UDP_IPv6'].get_val() or self['UDP_IPv4'].get_val() or self['GTPU_UDP_IPv6'].get_val() or self['GTPU_UDP_IPv4'].get_val()) else True)
3118+
self['UDP_IPv6'].get_val() or self['UDP_IPv4'].get_val()) else True)
31193119
self['VLAN_CTAG'].set_transauto(lambda: False if (
31203120
self['CTAG'].get_val()) else True)
31213121
self['VLAN_STAG'].set_transauto(lambda: False if (

pycrate_mobile/TS29274_GTPC.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,15 @@ class Indication(BitFlags):
679679
Uint('NSENBI', bl=1),
680680
Uint('IDFUPF', bl=1),
681681
Uint('EMCI', bl=1))),
682+
Envelope('Octet10', GEN=(
683+
Uint('spare', bl=1),
684+
Uint('spare', bl=1),
685+
Uint('spare', bl=1),
686+
Uint('spare', bl=1),
687+
Uint('spare', bl=1),
688+
Uint('LTEMSAI', bl=1),
689+
Uint('SRTPI', bl=1),
690+
Uint('UPIPSI', bl=1))),
682691
Buf('ext', rep=REPR_HEX)
683692
)
684693

0 commit comments

Comments
 (0)