summaryrefslogtreecommitdiffstats
path: root/src/input/hsl.c
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 /src/input/hsl.c
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 'src/input/hsl.c')
-rw-r--r--src/input/hsl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/input/hsl.c b/src/input/hsl.c
index f00338f..3854b06 100644
--- a/src/input/hsl.c
+++ b/src/input/hsl.c
@@ -242,7 +242,8 @@ static int hsl_fd_cb(struct osmo_fd *bfd, unsigned int what)
return rc;
}
-static int hsl_line_update(struct e1inp_line *line, enum e1inp_line_role role);
+static int hsl_line_update(struct e1inp_line *line,
+ enum e1inp_line_role role, const char *addr);
struct e1inp_driver hsl_driver = {
.name = "hsl",
@@ -300,8 +301,8 @@ static int listen_fd_cb(struct osmo_fd *listen_bfd, unsigned int what)
return ret;
}
-static int
-hsl_line_update(struct e1inp_line *line, enum e1inp_line_role role)
+static int hsl_line_update(struct e1inp_line *line,
+ enum e1inp_line_role role, const char *addr)
{
int ret = -ENOENT;