ipaccess: allow tcp keepalive for ipa clients

This allows using the e1_line x keepalive y z setting for clients like
osmo-bts.

Change-Id: Iadf22934ca6d3c44adac5573709ba53e75fa07da
This commit is contained in:
Eric Wild 2019-06-21 13:52:06 +02:00 committed by Hoernchen
parent 3e03bc2997
commit b8242720b8
1 changed files with 4 additions and 2 deletions

View File

@ -667,8 +667,10 @@ static void ipaccess_bts_updown_cb(struct ipa_client_conn *link, int up)
{
struct e1inp_line *line = link->line;
if (up)
return;
if (up) {
update_fd_settings(line, link->ofd->fd);
return;
}
if (line->ops->sign_link_down)
line->ops->sign_link_down(line);