summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-02 15:15:38 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-02 16:04:16 +0100
commit46caed8fc490f0f9f3c435d1cf59fc900fad9b5a (patch)
tree1f71fc7c05407bb4382c6bec2df09ce7e5f99b30 /openbsc/src/osmo-bsc_nat
parent64630cccc763da7088c1d1ff251a89d4d352cd4b (diff)
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
Diffstat (limited to 'openbsc/src/osmo-bsc_nat')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
index d7ec545fa..cc7d44287 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
@@ -32,6 +32,7 @@
#include <osmocom/core/linuxlist.h>
#include <osmocom/core/talloc.h>
+#include <osmocom/core/stats.h>
#include <osmocom/gsm/gsm0808.h>
#include <osmocom/gsm/ipa.h>
@@ -65,6 +66,7 @@ static const struct rate_ctr_group_desc bsc_cfg_ctrg_desc = {
.group_description = "NAT BSC Statistics",
.num_ctr = ARRAY_SIZE(bsc_cfg_ctr_description),
.ctr_desc = bsc_cfg_ctr_description,
+ .class_id = OSMO_STATS_CLASS_PEER,
};
struct bsc_nat *bsc_nat_alloc(void)