mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-03 21:53:18 +00:00
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:
@@ -424,9 +424,9 @@ static int config_write_trx(struct vty *vty)
|
|||||||
chan = &trx->cfg.chans[i];
|
chan = &trx->cfg.chans[i];
|
||||||
vty_out(vty, " chan %u%s", chan->idx, VTY_NEWLINE);
|
vty_out(vty, " chan %u%s", chan->idx, VTY_NEWLINE);
|
||||||
if (chan->rx_path)
|
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)
|
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;
|
return CMD_SUCCESS;
|
||||||
|
|||||||
Reference in New Issue
Block a user