diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-18 02:26:16 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 20:24:14 +0800 |
commit | 08a1b16674038fc7e601f55238d51128d56fa247 (patch) | |
tree | 95cc16b6354df52c00861ef611a862c75ec2fee9 /openbsc/tests | |
parent | eb52e89c3adad6b01cbbbc139f804a66f161ca43 (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.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 12141ef7b..e547ee479 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(); } |