[MERGED] osmo-bsc[master]: osmo_bsc_vty.c: fix: write MGW configuration

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue May 8 13:00:23 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: osmo_bsc_vty.c: fix: write MGW configuration
......................................................................


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
---
M src/osmo-bsc/osmo_bsc_vty.c
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/osmo_bsc_vty.c b/src/osmo-bsc/osmo_bsc_vty.c
index e6ae078..36c3223 100644
--- a/src/osmo-bsc/osmo_bsc_vty.c
+++ b/src/osmo-bsc/osmo_bsc_vty.c
@@ -181,6 +181,9 @@
 		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)

-- 
To view, visit https://gerrit.osmocom.org/8044
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7d1eedb782a4f30bd089838969ce54f27cde060d
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>



More information about the gerrit-log mailing list