1 | initial version |
Issue 15360: human-readable numbers
Commit e253e627: Use human-readable numbers for conversation stats
tap-iousers.c:
rx_bytes = format_size(iui->rx_bytes, FORMAT_SIZE_UNIT_BYTES, 0); tx_bytes = format_size(iui->tx_bytes, FORMAT_SIZE_UNIT_BYTES, 0); total_bytes = format_size(iui->tx_bytes + iui->rx_bytes, FORMAT_SIZE_UNIT_BYTES, 0);
There is support for FORMAT_SIZE_UNIT_NONE
in
str_util.h and str_util.c. An option to indicate raw output instead of human readable would be needed for tshark
.