Change in osmo-mgw[master]: fix vty dump_trunk: start from zero, do not omit first CONN

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

laforge gerrit-no-reply at lists.osmocom.org
Sun Mar 8 14:01:58 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/17424 )

Change subject: fix vty dump_trunk: start from zero, do not omit first CONN
......................................................................

fix vty dump_trunk: start from zero, do not omit first CONN

Change-Id: Ibb97fbf5c0b46ab841c3f6126b3622e4a8054feb
---
M src/libosmo-mgcp/mgcp_vty.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libosmo-mgcp/mgcp_vty.c b/src/libosmo-mgcp/mgcp_vty.c
index 5f9853b..3b61c30 100644
--- a/src/libosmo-mgcp/mgcp_vty.c
+++ b/src/libosmo-mgcp/mgcp_vty.c
@@ -255,7 +255,7 @@
 		return;
 	}
 
-	for (i = 1; i < cfg->number_endpoints; ++i) {
+	for (i = 0; i < cfg->number_endpoints; ++i) {
 		struct mgcp_endpoint *endp = &cfg->endpoints[i];
 		dump_endpoint(vty, endp, i, cfg->trunk_nr, cfg->trunk_type, show_stats);
 		if (i < cfg->number_endpoints - 1)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/17424
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ibb97fbf5c0b46ab841c3f6126b3622e4a8054feb
Gerrit-Change-Number: 17424
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200308/ab697d88/attachment.htm>


More information about the gerrit-log mailing list