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.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/15854 ) Change subject: vty: Fix write-config of local-ip and remote-ip commands ...................................................................... vty: Fix write-config of local-ip and remote-ip commands Fixes: CID#205338 Fixes: CID#205337 Change-Id: I7b01e53aa4bfd714467cbd729cfcf4dc12a64bd4 --- M src/osmo_ss7_vty.c 1 file changed, 3 insertions(+), 3 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c index 8169aaf..23607ca 100644 --- a/src/osmo_ss7_vty.c +++ b/src/osmo_ss7_vty.c @@ -500,7 +500,7 @@ xs->cfg.local.port, VTY_NEWLINE); for (i = 0; i < xs->cfg.local.host_cnt; i++) { - if (xs->cfg.local.host) + if (xs->cfg.local.host[i]) vty_out(vty, " local-ip %s%s", xs->cfg.local.host[i], VTY_NEWLINE); } if (xs->cfg.accept_dyn_reg) @@ -698,11 +698,11 @@ if (asp->cfg.description) vty_out(vty, " description %s%s", asp->cfg.description, VTY_NEWLINE); for (i = 0; i < asp->cfg.local.host_cnt; i++) { - if (asp->cfg.local.host) + if (asp->cfg.local.host[i]) vty_out(vty, " local-ip %s%s", asp->cfg.local.host[i], VTY_NEWLINE); } for (i = 0; i < asp->cfg.remote.host_cnt; i++) { - if (asp->cfg.remote.host) + if (asp->cfg.remote.host[i]) vty_out(vty, " remote-ip %s%s", asp->cfg.remote.host[i], VTY_NEWLINE); } if (asp->cfg.qos_class) -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15854 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: I7b01e53aa4bfd714467cbd729cfcf4dc12a64bd4 Gerrit-Change-Number: 15854 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at gnumonks.org> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191023/9f5d4e35/attachment.htm>