aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-06-30 13:13:59 +0200
committerHarald Welte <laforge@gnumonks.org>2013-10-06 11:54:38 +0200
commit84f67b2832f984fd28e78596bc3d7fbbc661e04f (patch)
treed8ee999efacb3adb74a73b2b06645862fbaa7cd8 /tests
parentd331f862dc5d0217a836c8826790c45e86b77ec3 (diff)
Don't establish RSL at same time as OML link on IPA type lines
If we have a BTS-side e1inp_line, we can only establish OML at the time of line_update. We have to wait with RSL until the BTS explicitly tells us the RSL destination IP and port (received via OML from BSC). This is now handled in a new function called e1inp_ipa_bts_rsl_connect().
Diffstat (limited to 'tests')
-rw-r--r--tests/e1inp_ipa_bts_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/e1inp_ipa_bts_test.c b/tests/e1inp_ipa_bts_test.c
index 31aac95..02a4cb3 100644
--- a/tests/e1inp_ipa_bts_test.c
+++ b/tests/e1inp_ipa_bts_test.c
@@ -70,6 +70,7 @@ sign_link_up(void *unit, struct e1inp_line *line, enum e1inp_sign_type type)
/* Now we can send OML messages to the BSC. */
bts_state = BTS_TEST_OML_SIGN_LINK_UP;
}
+ e1inp_ipa_bts_rsl_connect(line, "127.0.0.1", IPA_TCP_PORT_RSL);
break;
case E1INP_SIGN_RSL:
LOGP(DBTSTEST, LOGL_NOTICE, "RSL link up request received.\n");