aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/gprs_sgsn.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-11-21 08:51:47 +0100
committerHarald Welte <laforge@gnumonks.org>2017-11-21 08:51:47 +0100
commitb68413b70c10985f12bfd4fbe631bbf5b7b365d1 (patch)
tree0e3c33931d40132a0c55517bc10ffba8dffcffc2 /src/gprs/gprs_sgsn.c
parentd1c232e1c4bb0155ea19faeb0f885075f84acf65 (diff)
Replace '.' in counter names with ':'
'.' is an 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: Iec382ec4ee54beb2937431f5a9d8d1171224eebb
Diffstat (limited to 'src/gprs/gprs_sgsn.c')
-rw-r--r--src/gprs/gprs_sgsn.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/gprs/gprs_sgsn.c b/src/gprs/gprs_sgsn.c
index 4cd3df16..5eff404a 100644
--- a/src/gprs/gprs_sgsn.c
+++ b/src/gprs/gprs_sgsn.c
@@ -102,29 +102,29 @@ static const struct rate_ctr_group_desc pdpctx_ctrg_desc = {
};
static const struct rate_ctr_desc sgsn_ctr_description[] = {
- { "llc.dl_bytes", "Count sent LLC bytes before giving it to the bssgp layer" },
- { "llc.ul_bytes", "Count sucessful received LLC bytes (encrypt & fcs correct)" },
- { "llc.dl_packets", "Count sucessful sent LLC packets before giving it to the bssgp layer" },
- { "llc.ul_packets", "Count sucessful received LLC packets (encrypt & fcs correct)" },
- { "gprs.attach_requested", "Received attach requests" },
- { "gprs.attach_accepted", "Sent attach accepts" },
- { "gprs.attach_rejected", "Sent attach rejects" },
- { "gprs.detach_requested", "Received detach requests" },
- { "gprs.detach_acked", "Sent detach acks" },
- { "gprs.routing_area_requested", "Received routing area requests" },
- { "gprs.routing_area_requested", "Sent routing area acks" },
- { "gprs.routing_area_requested", "Sent routing area rejects" },
- { "pdp.activate_requested", "Received activate requests" },
- { "pdp.activate_rejected", "Sent activate rejects" },
- { "pdp.activate_accepted", "Sent activate accepts" },
- { "pdp.request_activated", "unused" },
- { "pdp.request_activate_rejected", "unused" },
- { "pdp.modify_requested", "unused" },
- { "pdp.modify_accepted", "unused" },
- { "pdp.dl_deactivate_requested", "Sent deactivate requests" },
- { "pdp.dl_deactivate_accepted", "Sent deactivate accepted" },
- { "pdp.ul_deactivate_requested", "Received deactivate requests" },
- { "pdp.ul_deactivate_accepted", "Received deactivate accepts" },
+ { "llc:dl_bytes", "Count sent LLC bytes before giving it to the bssgp layer" },
+ { "llc:ul_bytes", "Count sucessful received LLC bytes (encrypt & fcs correct)" },
+ { "llc:dl_packets", "Count sucessful sent LLC packets before giving it to the bssgp layer" },
+ { "llc:ul_packets", "Count sucessful received LLC packets (encrypt & fcs correct)" },
+ { "gprs:attach_requested", "Received attach requests" },
+ { "gprs:attach_accepted", "Sent attach accepts" },
+ { "gprs:attach_rejected", "Sent attach rejects" },
+ { "gprs:detach_requested", "Received detach requests" },
+ { "gprs:detach_acked", "Sent detach acks" },
+ { "gprs:routing_area_requested", "Received routing area requests" },
+ { "gprs:routing_area_requested", "Sent routing area acks" },
+ { "gprs:routing_area_requested", "Sent routing area rejects" },
+ { "pdp:activate_requested", "Received activate requests" },
+ { "pdp:activate_rejected", "Sent activate rejects" },
+ { "pdp:activate_accepted", "Sent activate accepts" },
+ { "pdp:request_activated", "unused" },
+ { "pdp:request_activate_rejected", "unused" },
+ { "pdp:modify_requested", "unused" },
+ { "pdp:modify_accepted", "unused" },
+ { "pdp:dl_deactivate_requested", "Sent deactivate requests" },
+ { "pdp:dl_deactivate_accepted", "Sent deactivate accepted" },
+ { "pdp:ul_deactivate_requested", "Received deactivate requests" },
+ { "pdp:ul_deactivate_accepted", "Received deactivate accepts" },
};
static const struct rate_ctr_group_desc sgsn_ctrg_desc = {