laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-sccp/+/27324 )

Change subject: sccp_demo_user: Add 'show stats' to VTY
......................................................................

sccp_demo_user: Add 'show stats' to VTY

this allows us to inspect statistics of the demo user via VTY

Change-Id: Ica48d4e0c9cedb9adb94ae08c5201207b8836e1c
---
M examples/sccp_demo_user.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve



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 @@
        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();

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/27324
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Ica48d4e0c9cedb9adb94ae08c5201207b8836e1c
Gerrit-Change-Number: 27324
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to