aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs/trx_vty.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-07-31 15:48:18 +0200
committerHarald Welte <laforge@gnumonks.org>2018-07-31 15:48:18 +0200
commit03b3c30533c627e52fcc5efb52721cba8ef9462c (patch)
treea71bcc8f65f081dfd7bba37361c3a994fbdb03cc /CommonLibs/trx_vty.c
parenta4b569d9366d638579bb95808e2884886424624a (diff)
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
Diffstat (limited to 'CommonLibs/trx_vty.c')
-rw-r--r--CommonLibs/trx_vty.c4
1 files changed, 2 insertions, 2 deletions
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 @@ static int config_write_trx(struct vty *vty)
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;