Browse Source

MT#55283 fix bw_limit copy/pasto

This isn't a percentage nor a scaled value

Change-Id: Ib86a2a57bff3ae68edf94ea1a57dbd678b09a662
(cherry picked from commit 48b9206cee)
(cherry picked from commit c5c8b2daf0)
pull/1852/head
Richard Fuchs 2 years ago
parent
commit
8ecc73efa2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/cli.c

+ 1
- 1
daemon/cli.c View File

@ -942,7 +942,7 @@ static void cli_incoming_set_maxbw(str *instr, struct cli_writer *cw) {
return;
} else {
rwlock_lock_w(&rtpe_config.config_lock);
rtpe_config.bw_limit = num * 100;
rtpe_config.bw_limit = num;
rwlock_unlock_w(&rtpe_config.config_lock);
cw->cw_printf(cw, "Success setting maxbw to %" PRIu64 "\n", num);
}


Loading…
Cancel
Save