diff --git a/NetworkIOMeter.c b/NetworkIOMeter.c index 3cd731f7..d41eafa8 100644 --- a/NetworkIOMeter.c +++ b/NetworkIOMeter.c @@ -114,7 +114,8 @@ static void NetworkIOMeter_updateValues(Meter* this) { char bufferBytesReceived[12], bufferBytesTransmitted[12]; Meter_humanUnit(bufferBytesReceived, cached_rxb_diff, sizeof(bufferBytesReceived)); Meter_humanUnit(bufferBytesTransmitted, cached_txb_diff, sizeof(bufferBytesTransmitted)); - xSnprintf(this->txtBuffer, sizeof(this->txtBuffer), "rx:%siB/s tx:%siB/s", bufferBytesReceived, bufferBytesTransmitted); + xSnprintf(this->txtBuffer, sizeof(this->txtBuffer), "rx:%siB/s tx:%siB/s %d/%dpkts/s", + bufferBytesReceived, bufferBytesTransmitted, cached_rxp_diff, cached_txp_diff); } static void NetworkIOMeter_display(ATTR_UNUSED const Object* cast, RichString* out) {