aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-15 00:36:54 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:19 +0800
commitf1012a432c6ec3a54ba3af2c33e4ecbc06aab447 (patch)
tree2f0f61f2dfa92cddc361a2e0acbeb03da057a829 /openbsc/tests
parent1498d2e182ea6644a9965f47a327900d7b43ddbd (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.c5
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 fd76ed952..0d6548765 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);