Temporarily disabled tlv version check (wip)

This commit is contained in:
Alfredo Cardigliano 2019-09-10 11:11:27 +02:00
parent c3fa094e99
commit 32119bda1f

View file

@ -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) {