Fix daynaport statistics read count calculation (#1336)

This commit is contained in:
Uwe Seimet 2023-11-11 09:56:52 +01:00 committed by GitHub
parent a164340179
commit bd30073cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,7 @@ int SCSIDaynaPort::Read(cdb_t cdb, vector<uint8_t>& buf, uint64_t)
return DAYNAPORT_READ_HEADER_SZ;
}
byte_read_count += rx_packet_size * read_count;
byte_read_count += rx_packet_size;
LogTrace("Packet Size " + to_string(rx_packet_size) + ", read count: " + to_string(read_count));