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 <[email protected]>

Reply via email to