vty: printing fn offset should be signed

...because it is usually negative

Change-Id: I8297dbb0fec25720e73d59fd8e38834029154405
This commit is contained in:
Eric Wild 2021-06-16 15:20:51 +02:00
parent 0a038223d0
commit 0c34c64a16
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ static int config_write_trx(struct vty *vty)
if (trx->cfg.stack_size != 0)
vty_out(vty, " stack-size %u%s", trx->cfg.stack_size, VTY_NEWLINE);
if (trx->cfg.ul_fn_offset != 0)
vty_out(vty, " ul-fn-offset %u%s", trx->cfg.ul_fn_offset, VTY_NEWLINE);
vty_out(vty, " ul-fn-offset %d%s", trx->cfg.ul_fn_offset, VTY_NEWLINE);
trx_rate_ctr_threshold_write_config(vty, " ");
for (i = 0; i < trx->cfg.num_chans; i++) {