diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-06-21 12:22:49 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-06-21 12:22:49 +0200 |
commit | c00ee7399d06ecaee66795e56e546cef89768cb2 (patch) | |
tree | 9992cc8848cd53a339e91b98187ac2a65aba9ecc /tests | |
parent | 96e81280617112d5f683b5c78c010fd4843e2af0 (diff) |
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.c | 2 | ||||
-rw-r--r-- | tests/e1inp_ipa_bts_test.c | 2 |
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); } |