aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-02-22 17:58:20 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-02-22 17:58:20 +0100
commit617ac806c70f169c9c4c7ae1a973ea101bf30c10 (patch)
treed9a13c256ee6a3a27ade01b555451825146f1619
parent2568f0177995ca0e8314bace1940b8c9d8117209 (diff)
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
-rw-r--r--src/libmsc/msc_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index 77ced8e68..ce608ba11 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 @@ void msc_vty_init(struct gsm_network *msc_network)
#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();
}