diff options
author | Harald Welte <laforge@osmocom.org> | 2022-02-24 19:31:07 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2022-02-24 20:40:24 +0100 |
commit | d8c7a40a603b82f8308687305cbe95ebb348ab54 (patch) | |
tree | deedde6b457d3c63e1367b568099c09a28714168 | |
parent | d0cd3157b7a3759d2f946ec8e51ada8237b1ec34 (diff) |
sccp_demo_user: Add 'show stats' to VTY
this allows us to inspect statistics of the demo user via VTY
Change-Id: Ica48d4e0c9cedb9adb94ae08c5201207b8836e1c
-rw-r--r-- | examples/sccp_demo_user.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/sccp_demo_user.c b/examples/sccp_demo_user.c index 82309ea..5f443e2 100644 --- a/examples/sccp_demo_user.c +++ b/examples/sccp_demo_user.c @@ -14,6 +14,7 @@ #include <osmocom/vty/vty.h> #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/logging.h> +#include <osmocom/vty/stats.h> #include <osmocom/vty/misc.h> #include <osmocom/sigtran/osmo_ss7.h> @@ -260,6 +261,7 @@ int main(int argc, char **argv) vty_init(&vty_info); logging_vty_add_cmds(); osmo_talloc_vty_add_cmds(); + osmo_stats_vty_add_cmds(); osmo_fsm_vty_add_cmds(); osmo_ss7_vty_init_asp(NULL); osmo_sccp_vty_init(); |