CESNET / ipfixcol

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

Refactoring of preprocessor_compute_crc #29

Closed ghost closed 9 years ago

ghost commented 9 years ago

The old version of preprocessor_compute_crc was copying more data than it should (using memcpy) and was rather error-prone. In addition, the produced output (buff) was just empty. The new version of preprocessor_compute_crc is much easier to read. Please let me know whether this matches your vision with regard to this function and provide me with feedback, if needed.