[PATCH] 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/.

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Thu Feb 22 16:59:30 UTC 2018


Review at  https://gerrit.osmocom.org/6841

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


  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/41/6841/1

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: newchange
Gerrit-Change-Id: Iaf970f6039c3f668f275dd8c21fb9071774a5d9e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>



More information about the gerrit-log mailing list