CESNET / ipfixcol

IPFIXcol is an implementation of an IPFIX (RFC 7011) collector
Other
64 stars 37 forks source link

Preprocessor: don't print seq. error warning for first received packet #154

Closed ghost closed 8 years ago

ghost commented 8 years ago

Only print a warning message if this is not the first message, since the first message always triggers an alert (sequence number is then compared to zero) when a trace is replayed. The impact for live flow data feeds is very limited, since this fix could only prohibit the logging of a warning if the first IPFIX message features a sequence number error.

thorgrin commented 8 years ago

Thanks for the patch. Simple and elegant solution.