Bugfix: Initialize transoctected in IpfixPrinter

Uninitialized values for srcTransOctets and dstTransOctets lead to
incorrectly printed values in table output of IpfixPrinter if no
transport octets are delivered in the flow
This commit is contained in:
Lothar Braun 2020-05-27 21:01:30 +02:00
parent 2e01fc015e
commit 57a4c99178

@ -37,6 +37,7 @@
*/
Connection::Connection(IpfixDataRecord* record)
: srcOctets(0), dstOctets(0),
srcTransOctets(0), dstTransOctets(0),
srcPackets(0), dstPackets(0),
srcTcpControlBits(0), dstTcpControlBits(0),
srcPayload(0), srcPayloadLen(0),