From a0aeaa799eda7e8b2ed05795c51961b3c3a82ba5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 14 May 2010 23:07:58 +0800 Subject: [nat] Fix the regexp of the test and the command line. --- openbsc/tests/bsc-nat/bsc_nat_test.c | 6 +++--- 1 file 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 */ -- cgit v1.2.3