Change in ...libosmo-abis[master]: ipaccess: allow tcp keepalive for ipa clients

Hoernchen gerrit-no-reply at lists.osmocom.org
Fri Jun 21 15:24:31 UTC 2019


Hoernchen has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/libosmo-abis/+/14564 )

Change subject: ipaccess: allow tcp keepalive for ipa clients
......................................................................

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
---
M src/input/ipaccess.c
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 136aa79..d0fa023 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -667,8 +667,10 @@
 {
 	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);

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/14564
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Iadf22934ca6d3c44adac5573709ba53e75fa07da
Gerrit-Change-Number: 14564
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190621/836adb33/attachment.html>


More information about the gerrit-log mailing list