From c00ee7399d06ecaee66795e56e546cef89768cb2 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 21 Jun 2011 12:22:49 +0200 Subject: 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. --- src/input/hsl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/input/hsl.c') 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; -- cgit v1.2.3-55-g7522