aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/gtphub.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-12-20 13:10:11 +0100
committerMax <msuraev@sysmocom.de>2017-12-20 16:52:03 +0000
commit8a01a803a14a34d97c306ab85c8ff309b3ff9976 (patch)
tree6896625a887e4180f204290649fb801cc0835347 /src/gprs/gtphub.c
parentceccd4611ffba3a1e5856ed51fea51f51a7b81a2 (diff)
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: I4eb6851d3577f5942ae1a9ab28d3b3ca7ab8e208
Diffstat (limited to 'src/gprs/gtphub.c')
-rw-r--r--src/gprs/gtphub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs/gtphub.c b/src/gprs/gtphub.c
index 7e3e6631e..5e962f292 100644
--- a/src/gprs/gtphub.c
+++ b/src/gprs/gtphub.c
@@ -125,7 +125,7 @@ static const struct rate_ctr_desc gtphub_counters_io_desc[] = {
};
static const struct rate_ctr_group_desc gtphub_ctrg_io_desc = {
- .group_name_prefix = "gtphub.bind",
+ .group_name_prefix = "gtphub:bind",
.group_description = "I/O Statistics",
.num_ctr = ARRAY_SIZE(gtphub_counters_io_desc),
.ctr_desc = gtphub_counters_io_desc,