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
This commit is contained in:
Pau Espin 2018-07-24 12:41:26 +02:00
parent ef6d78ff7f
commit 437e209311
1 changed files with 6 additions and 6 deletions

View File

@ -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 " },
};