Change in osmo-e1d[master]: actually set the back-pointer from timeslot to line

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/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Jun 29 20:14:23 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/19059 )


Change subject: actually set the back-pointer from timeslot to line
......................................................................

actually set the back-pointer from timeslot to line

'struct e1_ts' always had a back-pointer to the line it is part of,
but apparently this was never initialized so far.

Change-Id: I5e6c8189bf5aa4af26d6cd6c6d288a149ed7fa66
---
M src/intf_line.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/59/19059/1

diff --git a/src/intf_line.c b/src/intf_line.c
index 7127617..24522fa 100644
--- a/src/intf_line.c
+++ b/src/intf_line.c
@@ -98,6 +98,7 @@
 	line->drv_data = drv_data;
 
 	for (int i=0; i<32; i++) {
+		line->ts[i].line = line;
 		line->ts[i].id = i;
 		line->ts[i].fd = -1;
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/19059
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I5e6c8189bf5aa4af26d6cd6c6d288a149ed7fa66
Gerrit-Change-Number: 19059
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200629/dd286e5b/attachment.htm>


More information about the gerrit-log mailing list