aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-20 19:57:42 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-08-20 19:57:47 +0200
commitc19817bce7747eaef03b1a2f4e7f9d0133836595 (patch)
tree3943a6074ec287b821c2ed5a0e0c46f80c8aaff3 /src
parent82f13612ce63b863d22bc28eaf3dcc25c364fb6c (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: I66a7e044c027672adf77fbd6c0a111c43ee31b4f
Diffstat (limited to 'src')
-rw-r--r--src/gprs/gb_proxy_peer.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gprs/gb_proxy_peer.c b/src/gprs/gb_proxy_peer.c
index 8e28fc4bc..a862a832b 100644
--- a/src/gprs/gb_proxy_peer.c
+++ b/src/gprs/gb_proxy_peer.c
@@ -40,13 +40,13 @@ static const struct rate_ctr_desc peer_ctr_description[] = {
{ "dropped", "BVC blocked, dropped packet " },
{ "inv-nsei", "NSEI mismatch " },
{ "tx-err", "NS Transmission error " },
- { "raid-mod.bss", "RAID patched (BSS )" },
- { "raid-mod.sgsn", "RAID patched (SGSN)" },
- { "apn-mod.sgsn", "APN patched " },
- { "tlli-mod.bss", "TLLI patched (BSS )" },
- { "tlli-mod.sgsn", "TLLI patched (SGSN)" },
- { "ptmsi-mod.bss", "P-TMSI patched (BSS )" },
- { "ptmsi-mod.sgsn","P-TMSI patched (SGSN)" },
+ { "raid-mod:bss", "RAID patched (BSS )" },
+ { "raid-mod:sgsn", "RAID patched (SGSN)" },
+ { "apn-mod:sgsn", "APN patched " },
+ { "tlli-mod:bss", "TLLI patched (BSS )" },
+ { "tlli-mod:sgsn", "TLLI patched (SGSN)" },
+ { "ptmsi-mod:bss", "P-TMSI patched (BSS )" },
+ { "ptmsi-mod:sgsn","P-TMSI patched (SGSN)" },
{ "mod-crypt-err", "Patch error: encrypted " },
{ "mod-err", "Patch error: other " },
{ "attach-reqs", "Attach Request count " },