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
This commit is contained in:
Harald Welte 2018-07-31 15:48:18 +02:00
parent a4b569d936
commit 03b3c30533
1 changed files with 2 additions and 2 deletions

View File

@ -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;