diff --git a/src/ZMQParserInterface.cpp b/src/ZMQParserInterface.cpp index b9b3ccd2e8..bf410e1460 100755 --- a/src/ZMQParserInterface.cpp +++ b/src/ZMQParserInterface.cpp @@ -1165,16 +1165,16 @@ u_int8_t ZMQParserInterface::parseTLVFlow(const char * const payload, int payloa if(rc == -1) return 0; - if (deserializer.fmt != ndpi_serialization_format_tlv) { +#if 0 + if (ndpi_deserialize_get_type(deserializer) != ndpi_serialization_format_tlv) { if (!once) { ntop->getTrace()->traceEvent(TRACE_WARNING, - "Invalid TLV message: the TLV generated by your probe (%u) does not match the version supported by ntopng (%u), please update both the probe and ntopng to the latest version available\n", - deserializer.fmt, ndpi_serialization_format_tlv); + "Invalid TLV message: the TLV generated by your probe does not match the version supported by ntopng, please update both the probe and ntopng to the latest version available\n"); once = true; } - return 0; } +#endif rc = 0; while(ndpi_deserialize_get_nextitem_type(&deserializer) != ndpi_serialization_unknown) {