From 437e2093110c4f9bd4f1512cb0ee0064a09612e4 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 24 Jul 2018 12:41:26 +0200 Subject: gbproxy: 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: I93a2e5b6ec66c9edb6e93d95032e788f552af44b --- src/gprs/gb_proxy.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gprs/gb_proxy.c b/src/gprs/gb_proxy.c index 7d2151830..447772f12 100644 --- a/src/gprs/gb_proxy.c +++ b/src/gprs/gb_proxy.c @@ -57,12 +57,12 @@ static const struct rate_ctr_desc global_ctr_description[] = { { "inv-lai", "Invalid Location Area Identifier" }, { "inv-rai", "Invalid Routing Area Identifier " }, { "inv-nsei", "No BVC established for NSEI " }, - { "proto-err.bss", "BSSGP protocol error (BSS )" }, - { "proto-err.sgsn", "BSSGP protocol error (SGSN)" }, - { "not-supp.bss", "Feature not supported (BSS )" }, - { "not-supp.sgsn", "Feature not supported (SGSN)" }, - { "restart.sgsn", "Restarted RESET procedure (SGSN)" }, - { "tx-err.sgsn", "NS Transmission error (SGSN)" }, + { "proto-err:bss", "BSSGP protocol error (BSS )" }, + { "proto-err:sgsn", "BSSGP protocol error (SGSN)" }, + { "not-supp:bss", "Feature not supported (BSS )" }, + { "not-supp:sgsn", "Feature not supported (SGSN)" }, + { "restart:sgsn", "Restarted RESET procedure (SGSN)" }, + { "tx-err:sgsn", "NS Transmission error (SGSN)" }, { "error", "Other error " }, { "mod-peer-err", "Patch error: no peer " }, }; -- cgit v1.2.3