Change in libosmo-abis[master]: ipaccess.c: assign names to the related osmo_fds

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Mon Dec 6 15:50:24 UTC 2021


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/26455 )


Change subject: ipaccess.c: assign names to the related osmo_fds
......................................................................

ipaccess.c: assign names to the related osmo_fds

The osmo_fds used form ipaccess based E1 traffic should have names

Change-Id: I42ca4e9257eee2857784dd4f5b17a83220e2be9e
depends: libosmocore I64b288174ae3dd22d50a701ce7cbf9e623246479
Related: SYS#5701
---
M src/input/ipaccess.c
1 file changed, 4 insertions(+), 0 deletions(-)



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

diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 04b4474..4eacb6e 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -341,6 +341,7 @@
 				     "could not register FD\n");
 				goto err;
 			}
+			newbfd->name = "ipa-rsl";
 
 			e1i_ts = ipaccess_line_ts(newbfd, new_line);
 			ipaccess_bsc_keepalive_fsm_alloc(e1i_ts, newbfd, "rsl_bsc_to_bts");
@@ -671,6 +672,7 @@
 		LOGP(DLINP, LOGL_ERROR, "could not register FD\n");
 		goto err_line;
 	}
+	bfd->name = "ipa-oml";
 
 	update_fd_settings(line, bfd->fd);
 
@@ -724,6 +726,8 @@
 		LOGP(DLINP, LOGL_ERROR, "could not register FD\n");
 		goto err_line;
 	}
+	bfd->name = "ipa-rsl";
+
 	/* Request ID. FIXME: request LOCATION, HW/SW VErsion, Unit Name, Serno */
 	ret = ipa_ccm_send_id_req(bfd->fd);
 	if (ret < 0) {

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

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I42ca4e9257eee2857784dd4f5b17a83220e2be9e
Gerrit-Change-Number: 26455
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211206/f3ee3dc4/attachment.htm>


More information about the gerrit-log mailing list