Change in libosmo-abis[master]: e1_input.c: Replace '.' in counter names with ':'

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Jul 24 19:02:56 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10130 )

Change subject: e1_input.c: Replace '.' in counter names with ':'
......................................................................

e1_input.c: Replace '.' in counter names with ':'

The '.' is illegal character in counter names, as they are exported
via CTRL interface, where '.' has a special meaning that cannot be
used by strings comprising the variable name.

Change-Id: I730d1acdd5562cd2c1758ceee31193010b14337d
---
M src/e1_input.c
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/e1_input.c b/src/e1_input.c
index 11949a1..4717830 100644
--- a/src/e1_input.c
+++ b/src/e1_input.c
@@ -58,13 +58,13 @@
 
 static const struct rate_ctr_desc e1inp_ctr_d[] = {
 	[E1I_CTR_HDLC_ABORT]  = {
-		"hdlc.abort", 	"HDLC abort"
+		"hdlc:abort", 	"HDLC abort"
 	},
 	[E1I_CTR_HDLC_BADFCS] = {
-		"hdlc.bad_fcs",	"HLDC Bad FCS"
+		"hdlc:bad_fcs",	"HLDC Bad FCS"
 	},
 	[E1I_CTR_HDLC_OVERR]  = {
-		"hdlc.overrun",	"HDLC Overrun"
+		"hdlc:overrun",	"HDLC Overrun"
 	},
 	[E1I_CTR_ALARM] = {
 		"alarm", 	"Alarm"

-- 
To view, visit https://gerrit.osmocom.org/10130
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I730d1acdd5562cd2c1758ceee31193010b14337d
Gerrit-Change-Number: 10130
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180724/2eeaec64/attachment.htm>


More information about the gerrit-log mailing list