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

laforge gerrit-no-reply at lists.osmocom.org
Fri Jun 4 19:38:30 UTC 2021


laforge has submitted this change. ( 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(-)

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



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: tnt <tnt at 246tNt.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210604/770f71f3/attachment.htm>


More information about the gerrit-log mailing list