Change in osmo-e1d[master]: Use new stat item/ctr getter APIs

pespin gerrit-no-reply at lists.osmocom.org
Fri Jun 4 16:05:59 UTC 2021


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


Change subject: Use new stat item/ctr getter APIs
......................................................................

Use new stat item/ctr getter APIs

Change-Id: Ib1bf9a6e5d2743522f888e7ef4815283b82ef809
---
M src/e1d.h
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/e1d.h b/src/e1d.h
index 70bca38..e824f8f 100644
--- a/src/e1d.h
+++ b/src/e1d.h
@@ -35,7 +35,7 @@
 	LINE_NODE
 };
 
-#define line_ctr_add(line, idx, add) rate_ctr_add(&(line)->ctrs->ctr[idx], add)
+#define line_ctr_add(line, idx, add) rate_ctr_add(rate_ctr_group_get_ctr((line)->ctrs, idx), add)
 
 enum e1d_line_ctr {
 	LINE_CTR_LOS,

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

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Ib1bf9a6e5d2743522f888e7ef4815283b82ef809
Gerrit-Change-Number: 24558
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210604/5ffb33a2/attachment.htm>


More information about the gerrit-log mailing list