commit | 5c18a0c846ab0c0be7dead9ed42c2da4a3a52cee | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Thu Oct 19 13:41:41 2023 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Fri Oct 20 14:15:47 2023 +0200 |
tree | 014db4f8a71a7d6f14e8f9b4ba601eb892950658 | |
parent | 2a2e854de6babdc945bf3d525191d16d75c61719 [diff] |
GTPv2: Fix match of 15-digit IMSIs 15-digit IMSIs are len(imsi)=15, but decoded messages are octet-aligned, hence the hexstring in messages is len(imsi)=16, where the last hex char is a padding 'F'H. * Make sure IMSIs stored in GTPv2_Emulation are padded to 16 digits (8 octets) to process matches easily. * Update tr_ template to transparently adapt passed hexstrings to match the octet-aligned value received from the wire. Change-Id: Ie2f316ccb5bc69ec15e861616de4fd5babc4004e