Change in osmo-trx[master]: Fix config file saving of {tx, rx}-path VTY config strings

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 Jul 31 13:49:09 UTC 2018


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/10274


Change subject: Fix config file saving of {tx,rx}-path VTY config strings
......................................................................

Fix config file saving of {tx,rx}-path VTY config strings

We were missing one indent level when writing the rx-path and tx-path

Change-Id: I5d5b02c71d39220cabc2a23d059908ef3c6350e0
Closes: OS#3435
---
M CommonLibs/trx_vty.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/74/10274/1

diff --git a/CommonLibs/trx_vty.c b/CommonLibs/trx_vty.c
index e69df77..baa26c8 100644
--- a/CommonLibs/trx_vty.c
+++ b/CommonLibs/trx_vty.c
@@ -424,9 +424,9 @@
 		chan = &trx->cfg.chans[i];
 		vty_out(vty, " chan %u%s", chan->idx, VTY_NEWLINE);
 		if (chan->rx_path)
-			vty_out(vty, " rx-path %s%s", chan->rx_path, VTY_NEWLINE);
+			vty_out(vty, "  rx-path %s%s", chan->rx_path, VTY_NEWLINE);
 		if (chan->tx_path)
-			vty_out(vty, " tx-path %s%s", chan->tx_path, VTY_NEWLINE);
+			vty_out(vty, "  tx-path %s%s", chan->tx_path, VTY_NEWLINE);
 	}
 
 	return CMD_SUCCESS;

-- 
To view, visit https://gerrit.osmocom.org/10274
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5d5b02c71d39220cabc2a23d059908ef3c6350e0
Gerrit-Change-Number: 10274
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180731/0e6611dd/attachment.htm>


More information about the gerrit-log mailing list