aboutsummaryrefslogtreecommitdiffstats
path: root/src/hlr.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2019-02-18 13:12:27 +0100
committerMax <msuraev@sysmocom.de>2019-02-18 19:57:58 +0000
commit20ddfdbc53dda04c30de8c6f2458f6013170b359 (patch)
tree016d9de230245fa6de532cbdc45fac7a9b322040 /src/hlr.c
parent227834b6bc5a6774e17f57af5c9c68a122d53383 (diff)
Enable statsd support
Diffstat (limited to 'src/hlr.c')
-rw-r--r--src/hlr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hlr.c b/src/hlr.c
index 7046180..c544310 100644
--- a/src/hlr.c
+++ b/src/hlr.c
@@ -23,6 +23,7 @@
#include <getopt.h>
#include <osmocom/core/msgb.h>
+#include <osmocom/core/stats.h>
#include <osmocom/core/logging.h>
#include <osmocom/core/application.h>
#include <osmocom/gsm/gsup.h>
@@ -663,6 +664,7 @@ int main(int argc, char **argv)
exit(1);
}
+ osmo_stats_init(hlr_ctx);
vty_init(&vty_info);
ctrl_vty_init(hlr_ctx);
handle_options(argc, argv);