From fed2a488b94fc24df4f5548f98a71bb98920a66a Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Tue, 3 Nov 2015 16:18:56 +0100 Subject: [PATCH] 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 --- src/gb/gprs_ns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c index 2b189cd30..d0be754d8 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 {