aboutsummaryrefslogtreecommitdiffstats
path: root/gsm_call_fsm.py
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2024-03-16 23:03:53 +0100
committerHarald Welte <laforge@osmocom.org>2024-03-19 14:17:54 +0100
commitb674dcf6be87886483e1535102ab7e85889651b2 (patch)
treee8c0c3ccbda637dc5810bdc8e38da22d3c90b771 /gsm_call_fsm.py
parent0ccb2f8740ce549567307650b16fbc9f09d91789 (diff)
Adjust mncc_sock.py to MNCC v7 introducing sockaddr_storageHEADmaster
It seems that 4 years ago in 2020 we merged Change-Id Iab17f09380d7cd914cf85746b794c6c04ec7de43 to add MNCCv7 support, but never actually tested mncc_sock.py ever since, as it still tries to unconditionally access the 'ip' and 'port' members of the message, which no longer exist due to the introduction of sockaddr_storage. Working with sockaddr_storage is a bit nasty as it contains double-underscores in the __ss_padding member, which means ctypes/python will make it a private member that we cannot access. Work around this with a small sed-script that removes the underscores from the clang2py-generated python source code. Change-Id: I3aa267a866ffaa54e7d71c19231adc78d3831169
Diffstat (limited to 'gsm_call_fsm.py')
0 files changed, 0 insertions, 0 deletions