From 83e3280ebec77454a7ed6ddc66cb1cfdff036f45 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 6 May 2018 22:31:02 +0700 Subject: osmo_bsc_vty.c: fix: write MGW configuration Previously the MGW configuration was ignored during writing of the MSC configuration. Let's fix this by calling the mgcp_client_config_write() function. Change-Id: I7d1eedb782a4f30bd089838969ce54f27cde060d --- src/osmo-bsc/osmo_bsc_vty.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osmo-bsc/osmo_bsc_vty.c b/src/osmo-bsc/osmo_bsc_vty.c index e6ae0784e..36c3223bd 100644 --- a/src/osmo-bsc/osmo_bsc_vty.c +++ b/src/osmo-bsc/osmo_bsc_vty.c @@ -181,6 +181,9 @@ static void write_msc(struct vty *vty, struct bsc_msc_data *msc) vty_out(vty, " msc-addr %s%s", msc->a.msc_addr_name, VTY_NEWLINE); } + + /* write MGW configuration */ + mgcp_client_config_write(vty, " "); } static int config_write_msc(struct vty *vty) -- cgit v1.2.3