TLV warning improvements

This commit is contained in:
Alfredo Cardigliano 2019-09-10 15:49:15 +02:00
parent 46a3ef5002
commit ddfa56dc50

View file

@ -933,7 +933,7 @@ int ZMQParserInterface::parseSingleTLVFlow(ndpi_deserializer *deserializer,
key_is_string = true;
break;
default:
ntop->getTrace()->traceEvent(TRACE_WARNING, "Unsupported TLV key type %u\n", kt);
ntop->getTrace()->traceEvent(TRACE_WARNING, "Unsupported TLV key type %u: please update both ntopng and the probe to the same version", kt);
ret = -1;
goto error;
}
@ -1152,7 +1152,7 @@ u_int8_t ZMQParserInterface::parseTLVFlow(const char * const payload, int payloa
if (!once) {
ntop->getTrace()->traceEvent(TRACE_WARNING,
"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");
"by ntopng, please update both the probe and ntopng to the latest version available");
once = true;
}
return 0;