commit | ad75eababc153d513e75f7f052818ca02acd9533 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Fri May 27 12:38:58 2011 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Jun 01 20:40:35 2011 +0200 |
tree | 495be345f80cbe4f975ec15367c49433350a6c71 | |
parent | 384ef099209f92afb0af0c48756731a105da23f5 [diff] |
nat: Allow to have a regexp to match the MSISDN The idea that MCC and MNC is enough to classify a subscriber turns out to be wrong. Certain operatos license a number range of IMSIs to others. When we see a '^' in the MCC field we treat it as a regexp. The code now turns the MCC/MNC into a regexp for the IMSI. It is not using extended POSIX regexp to match the behavior of the access list.