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
This commit is contained in:
Stefan Sperling 2018-02-22 17:58:20 +01:00
parent 2568f01779
commit 617ac806c7
1 changed files with 2 additions and 0 deletions

View File

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