diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-24 12:41:26 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-24 12:41:33 +0200 |
commit | 437e2093110c4f9bd4f1512cb0ee0064a09612e4 (patch) | |
tree | 7593029728c43cf2ab7717b06b2d8806d84c701b /src | |
parent | ef6d78ff7f96ce898e976f1c2bc638ff5d2d29fb (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/gprs/gb_proxy.c | 12 |
1 files 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 " }, }; |