From 46caed8fc490f0f9f3c435d1cf59fc900fad9b5a Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Mon, 2 Nov 2015 15:15:38 +0100 Subject: stats: Set class_id in rate_ctr group descriptions This commit adds the class_id initialiser to all rate_ctr_group_desc definitions. Sponsored-by: On-Waves ehf --- openbsc/src/gprs/gb_proxy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/src/gprs/gb_proxy.c') diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index 5b3ee282d..8cdf9a45a 100644 --- a/openbsc/src/gprs/gb_proxy.c +++ b/openbsc/src/gprs/gb_proxy.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include @@ -72,6 +73,7 @@ static const struct rate_ctr_group_desc global_ctrg_desc = { .group_description = "GBProxy Global Statistics", .num_ctr = ARRAY_SIZE(global_ctr_description), .ctr_desc = global_ctr_description, + .class_id = OSMO_STATS_CLASS_GLOBAL, }; static int gbprox_relay2peer(struct msgb *old_msg, struct gbproxy_peer *peer, -- cgit v1.2.3