aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-18 02:26:16 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-18 02:40:33 +0800
commit7897c4446b8f4a1731f4a8755b51f2567f8cb22a (patch)
tree24b4b9e57da2ab17fb3f8c50b21ff278b8961c73 /openbsc/tests
parentff9e09b2bc3fafbd752907fe93a2ed066d8e35cf (diff)
nat: Return the SCCP Connection again...
We will reset the multiplex in a DLCX message and then we can reset the multiplex as well...even if the MGCP connection is staying open. or at least this is a theory. The MSC likes to leave a connection open during CallControl when hanging up early enough in the process.
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/bsc-nat/bsc_nat_test.c4
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();
}