summaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-03 16:18:56 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-08-22 01:35:24 +0000
commitfed2a488b94fc24df4f5548f98a71bb98920a66a (patch)
treec2e3d7f5d0c4034f42a0cefa9ff80b09f9ffda49 /src/gb/gprs_ns.c
parentbe37fb7db4651f245994fa73008b4aa92c21c14f (diff)
ns/stats: Fix class_id of "NSVC Peer Statistics" rate_ctr group
Currently the class_id is not set which effectively puts these groups into the 'subscriber' class. This commit adds the missing initialisation value. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gb/gprs_ns.c')
-rw-r--r--src/gb/gprs_ns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c
index 2b189cd3..d0be754d 100644
--- a/src/gb/gprs_ns.c
+++ b/src/gb/gprs_ns.c
@@ -130,6 +130,7 @@ static const struct rate_ctr_group_desc nsvc_ctrg_desc = {
.group_description = "NSVC Peer Statistics",
.num_ctr = ARRAY_SIZE(nsvc_ctr_description),
.ctr_desc = nsvc_ctr_description,
+ .class_id = OSMO_STATS_CLASS_PEER,
};
enum ns_stat {