diff options
Diffstat (limited to 'openbsc/tests/bsc-nat/bsc_nat_test.c')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index d2f6dbf26..d97a49194 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -432,14 +432,14 @@ static void test_mgcp_find(void) abort(); } - if (bsc_mgcp_find_con(nat, 12) != con) { + if (bsc_mgcp_find_con(nat, 12) != sccp_con) { fprintf(stderr, "Didn't find the connection\n"); abort(); } sccp_con->msc_timeslot = 0; sccp_con->bsc_timeslot = 0; - if (bsc_mgcp_find_con(nat, 1) != con) { + if (bsc_mgcp_find_con(nat, 1) != sccp_con) { fprintf(stderr, "Didn't find the connection\n"); abort(); } |