summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPablo Neira Ayuso2011-06-21 12:22:49 +0200
committerPablo Neira Ayuso2011-06-21 12:22:49 +0200
commitc00ee7399d06ecaee66795e56e546cef89768cb2 (patch)
tree9992cc8848cd53a339e91b98187ac2a65aba9ecc /tests
parentinput: ipaccess: add preliminary BTS-side for A-bis over IP (diff)
downloadlibosmo-abis-c00ee7399d06ecaee66795e56e546cef89768cb2.tar.gz
libosmo-abis-c00ee7399d06ecaee66795e56e546cef89768cb2.tar.xz
libosmo-abis-c00ee7399d06ecaee66795e56e546cef89768cb2.zip
e1input: add address as parameter to e1inp_line_update(...)
This patch adds a new parameter to e1inp_line_update that allows to specific the address for A-bis over IP BSC/BTS.
Diffstat (limited to 'tests')
-rw-r--r--tests/e1inp_ipa_bsc_test.c2
-rw-r--r--tests/e1inp_ipa_bts_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/e1inp_ipa_bsc_test.c b/tests/e1inp_ipa_bsc_test.c
index 6c1cacc..3dfbc54 100644
--- a/tests/e1inp_ipa_bsc_test.c
+++ b/tests/e1inp_ipa_bsc_test.c
@@ -76,7 +76,7 @@ int main(void)
* it explains how this is done with ISDN.
*/
- if (e1inp_line_update(line, E1INP_LINE_R_BSC) < 0) {
+ if (e1inp_line_update(line, E1INP_LINE_R_BSC, "0.0.0.0") < 0) {
LOGP(DBSCTEST, LOGL_ERROR, "problem creating E1 line\n");
exit(EXIT_FAILURE);
}
diff --git a/tests/e1inp_ipa_bts_test.c b/tests/e1inp_ipa_bts_test.c
index bf6cf16..6f4ceaa 100644
--- a/tests/e1inp_ipa_bts_test.c
+++ b/tests/e1inp_ipa_bts_test.c
@@ -76,7 +76,7 @@ int main(void)
* it explains how this is done with ISDN.
*/
- if (e1inp_line_update(line, E1INP_LINE_R_BTS) < 0) {
+ if (e1inp_line_update(line, E1INP_LINE_R_BTS, "127.0.0.1") < 0) {
LOGP(DBTSTEST, LOGL_ERROR, "problem enabling E1 line\n");
exit(EXIT_FAILURE);
}