diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-15 00:36:54 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-15 00:36:54 +0800 |
commit | 3dfcd4636a8b32d66c985f55404847799c30f38d (patch) | |
tree | beb172c5e1ec00e18bb2ee291c0d564832d6da20 /openbsc/tests | |
parent | 50818d0c20a94476477609d448158779f26b12cf (diff) |
[nat] Remove the imsi allow option on the nat level.
For now we have:
1.) bsc imsi deny to deny at the BSC level
2.) bsc imsi allow to allow a SIM at the BSC level
3.) nat imsi deny to deny at the global level
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index 15b7af1ea..66b486eca 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -558,7 +558,6 @@ struct cr_filter { const char *bsc_imsi_allow; const char *bsc_imsi_deny; - const char *nat_imsi_allow; const char *nat_imsi_deny; }; @@ -604,7 +603,6 @@ static struct cr_filter cr_filter[] = { .bsc_imsi_deny = "[0-9]*", .bsc_imsi_allow = "[0-9]*", .nat_imsi_deny = "[0-9]*", - .nat_imsi_allow = "[0-9]*", }, }; @@ -623,9 +621,6 @@ static void test_cr_filter() msgb_reset(msg); copy_to_msg(msg, cr_filter[i].data, cr_filter[i].length); - bsc_parse_reg(nat, &nat->imsi_allow_re, &nat->imsi_allow, - cr_filter[i].nat_imsi_allow ? 1 : 0, - &cr_filter[i].nat_imsi_allow); bsc_parse_reg(nat, &nat->imsi_deny_re, &nat->imsi_deny, cr_filter[i].nat_imsi_deny ? 1 : 0, &cr_filter[i].nat_imsi_deny); |