mobile: add vty statsd support

Change-Id: I7905b44478dcb9bcf0a1a68fde95f470c07edca3
This commit is contained in:
Max 2023-02-18 21:01:01 +03:00 committed by msuraev
parent 65957cf877
commit 0fb9853582
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,7 @@
#include <osmocom/bb/mobile/gsm480_ss.h>
#include <osmocom/bb/mobile/gsm411_sms.h>
#include <osmocom/vty/telnet_interface.h>
#include <osmocom/vty/stats.h>
#include <osmocom/vty/misc.h>
bool l23_vty_reading = false;
@ -536,6 +537,9 @@ int l23_vty_init(int (*config_write_ms_node_cb)(struct vty *), osmo_signal_cbfn
if (app_supp_opt & L23_OPT_TAP)
l23_vty_init_gsmtap();
if (app_supp_opt & L23_OPT_VTY)
osmo_stats_vty_add_cmds();
install_node(&ms_node, config_write_ms_node_cb);
install_element(MS_NODE, &cfg_ms_layer2_cmd);
install_element(MS_NODE, &cfg_ms_shutdown_cmd);