|
@@ -260,12 +260,12 @@ void statistics::addIntervalStat(std::chrono::duration<int, std::micro> interval
|
|
|
intervalCorrectTCPChecksumCount = correctTCPChecksumCount;
|
|
|
intervalCumPktCount = packetCount;
|
|
|
intervalCumSumPktSize = sumPacketSize;
|
|
|
- intervalCumNovelIPCount = ip_statistics.size();
|
|
|
- intervalCumNovelTTLCount = ttl_values.size();
|
|
|
- intervalCumNovelWinSizeCount = win_values.size();
|
|
|
- intervalCumNovelToSCount = tos_values.size();
|
|
|
- intervalCumNovelMSSCount = mss_values.size();
|
|
|
- intervalCumNovelPortCount = port_values.size();
|
|
|
+ intervalCumNovelIPCount = static_cast<int>(ip_statistics.size());
|
|
|
+ intervalCumNovelTTLCount = static_cast<int>(ttl_values.size());
|
|
|
+ intervalCumNovelWinSizeCount = static_cast<int>(win_values.size());
|
|
|
+ intervalCumNovelToSCount =static_cast<int>(tos_values.size());
|
|
|
+ intervalCumNovelMSSCount = static_cast<int>(mss_values.size());
|
|
|
+ intervalCumNovelPortCount = static_cast<int>(port_values.size());
|
|
|
intervalCumTTLValues = ttl_values;
|
|
|
intervalCumWinSizeValues = win_values;
|
|
|
intervalCumTosValues = tos_values;
|