vppinfra: fix formatting of format_base10 03/36703/5
authorPim van Pelt <pim@ipng.nl>
Tue, 19 Jul 2022 08:32:22 +0000 (08:32 +0000)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 26 Jul 2022 17:03:20 +0000 (17:03 +0000)
commita5266c6bb508253c2a64719b093eb09f3e14ed9a
tree372ac48e6387dba5fd340717395e7d01e03d2cf6
parent8636a320413c12d1747c695ac594ca643ac539ba
vppinfra: fix formatting of format_base10

format_base10 reads 64b but is fed 32b values at the callsite; change
to u64 consistently. The function has only one call site in
interface/monitor.c which has a few additional bugs (spurious
character, and ambiguous 'bits' versus 'bytes' in the output).

Type: improvement
Signed-off-by: Pim van Pelt <pim@ipng.nl>
Change-Id: I360f0d439cc13c09bd3f53db8184bd12ad4bc2e9
src/vnet/interface/monitor.c
src/vppinfra/std-formats.c