aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
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-05-14 23:07:58 +0800
commita43c56637d0be3584a60892b2e4825634a2cb6fa (patch)
treeb716ab10c08a3aa71c0576cad5b7006bf6fc0260 /openbsc
parent980c84f0a36f976f007ed9fcff58c4acfca97b97 (diff)
[nat] Fix the regexp of the test and the command line.
Diffstat (limited to 'openbsc')
-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 25b34979f..15b7af1ea 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 */