mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-20 00:57:00 +00:00
Temporarily disabled tlv version check (wip)
This commit is contained in:
parent
c3fa094e99
commit
32119bda1f
1 changed files with 4 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue