diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-02-28 16:53:07 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-03-05 12:24:25 +0000 |
commit | 6ee49d8416ffba435ad7cc9fe5c685ec538c5571 (patch) | |
tree | ef6a8a010e180aa42eac86ae3dffd0ac81ff4d7f /openbsc/tests/vty_test_runner.py | |
parent | 3f8a8f7736c6a6ef41c0a1572488acbafdbc35e2 (diff) |
sgsn: fix problem with leading-zero-IMSIs
When the IMSI ACL is maintained via the VTY, users may enter IMSIs
without leading zeros. Especially in test environments, where
MCC=001 and MNC=01 is common, it is likely that someone enters the
corresponding IMSI (001010000000001) without the two zeros at the
beginning.
This patch fixes the problem by sanitizing the IMSI, eventually
missing zeros in the beginning will be automatically added.
Change-Id: I56ba0da61978bbdce71d0e320166c52b20b42517
Diffstat (limited to 'openbsc/tests/vty_test_runner.py')
0 files changed, 0 insertions, 0 deletions