aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/bsc-nat/bsc_nat_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-14 23:07:58 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:19 +0800
commita0aeaa799eda7e8b2ed05795c51961b3c3a82ba5 (patch)
tree1636f2a8572f097a488cdf58359c8f9cea71d4b7 /openbsc/tests/bsc-nat/bsc_nat_test.c
parent3df0233e5dc9c8f4512393bac58428e7a4f60cee (diff)
[nat] Fix the regexp of the test and the command line.
Diffstat (limited to 'openbsc/tests/bsc-nat/bsc_nat_test.c')
-rw-r--r--openbsc/tests/bsc-nat/bsc_nat_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c
index 9751dc9dd..fd76ed952 100644
--- a/openbsc/tests/bsc-nat/bsc_nat_test.c
+++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -581,12 +581,12 @@ static struct cr_filter cr_filter[] = {
.nat_imsi_deny = "[0-9]*",
},
{
- /* nat deny is before blank/null BSC */
+ /* BSC allow is before NAT deny */
.data = bss_lu,
.length = sizeof(bss_lu),
- .result = -3,
+ .result = 0,
.nat_imsi_deny = "[0-9]*",
- .bsc_imsi_allow = "(2440(*",
+ .bsc_imsi_allow = "2440[0-9]*",
},
{
/* BSC allow is before NAT deny */