aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-05-06 22:31:02 +0700
committerHarald Welte <laforge@gnumonks.org>2018-05-08 13:00:22 +0000
commit83e3280ebec77454a7ed6ddc66cb1cfdff036f45 (patch)
tree460865187d2250e01b5bc50ecc5db3cfdba41de6 /src
parent968c14232785d5aff13eb5591ebb712f7ee59730 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/osmo_bsc_vty.c3
1 files changed, 3 insertions, 0 deletions
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)