aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-07-24 15:00:11 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-07-24 15:00:15 +0200
commita2106844330221611fc8e2debb25f87dee56bcfb (patch)
tree2aff0f1edae8a1b1a60356823370bf0ff6591b8e
parente7761c6f6fb5e4b2fa049f1172a259652ac3692d (diff)
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
-rw-r--r--src/e1_input.c6
1 files changed, 3 insertions, 3 deletions
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 void *tall_sigl_ctx;
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"