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

Hoernchen gerrit-no-reply at lists.osmocom.org
Fri Jun 21 11:53:21 UTC 2019


Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/14562


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

ipaccess: allow tcp keepalive for ipa clients, too

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

Change-Id: Ie9fb070cbd208096e1713b902b22de2686fcb68d
---
M src/input/ipaccess.c
1 file changed, 4 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/62/14562/1

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/+/14562
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ie9fb070cbd208096e1713b902b22de2686fcb68d
Gerrit-Change-Number: 14562
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190621/3bba37e0/attachment.html>


More information about the gerrit-log mailing list