[MERGED] osmo-msc[master]: enable osmo_fsm vty commands in osmo-msc vty

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Feb 23 08:46:13 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: enable osmo_fsm vty commands in osmo-msc vty
......................................................................


enable osmo_fsm vty commands in osmo-msc vty

Call osmo_fsm_vty_add_cmds() to make osmo_fsm VTY commands available
in osmo-msc's VTY interface.

Change-Id: Iaf970f6039c3f668f275dd8c21fb9071774a5d9e
Related: OS#2967
---
M src/libmsc/msc_vty.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index 77ced8e..ce608ba 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -28,6 +28,7 @@
 #include <inttypes.h>
 
 #include <osmocom/vty/command.h>
+#include <osmocom/vty/misc.h>
 #ifdef BUILD_IU
 #include <osmocom/ranap/iu_client.h>
 #endif
@@ -239,4 +240,5 @@
 #ifdef BUILD_IU
 	ranap_iu_vty_init(MSC_NODE, (enum ranap_nsap_addr_enc*)&msc_network->iu.rab_assign_addr_enc);
 #endif
+	osmo_fsm_vty_add_cmds();
 }

-- 
To view, visit https://gerrit.osmocom.org/6841
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf970f6039c3f668f275dd8c21fb9071774a5d9e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list