nat: Update the test for the new <0,0,1 semantic of the filter function
A test case with a TMSI is missing, this would be needed for
better coverage of the filter test case.
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c
index 8f4e2d1..0e936ed 100644
--- a/openbsc/tests/bsc-nat/bsc_nat_test.c
+++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -582,19 +582,19 @@
{
.data = bssmap_cr,
.length = sizeof(bssmap_cr),
- .result = 0,
+ .result = 1,
.contype = NAT_CON_TYPE_CM_SERV_REQ,
},
{
.data = bss_lu,
.length = sizeof(bss_lu),
- .result = 0,
+ .result = 1,
.contype = NAT_CON_TYPE_LU,
},
{
.data = pag_resp,
.length = sizeof(pag_resp),
- .result = 0,
+ .result = 1,
.contype = NAT_CON_TYPE_PAG_RESP,
},
{
@@ -609,7 +609,7 @@
/* BSC allow is before NAT deny */
.data = bss_lu,
.length = sizeof(bss_lu),
- .result = 0,
+ .result = 1,
.nat_imsi_deny = "[0-9]*",
.bsc_imsi_allow = "2440[0-9]*",
.contype = NAT_CON_TYPE_LU,
@@ -618,7 +618,7 @@
/* BSC allow is before NAT deny */
.data = bss_lu,
.length = sizeof(bss_lu),
- .result = 0,
+ .result = 1,
.bsc_imsi_allow = "[0-9]*",
.nat_imsi_deny = "[0-9]*",
.contype = NAT_CON_TYPE_LU,