From ddfa56dc5097ea3718d8d2bbf191467dbc783641 Mon Sep 17 00:00:00 2001 From: Alfredo Cardigliano Date: Tue, 10 Sep 2019 15:49:15 +0200 Subject: [PATCH] TLV warning improvements --- src/ZMQParserInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZMQParserInterface.cpp b/src/ZMQParserInterface.cpp index 9271aa6c0d..52f7afd80a 100755 --- a/src/ZMQParserInterface.cpp +++ b/src/ZMQParserInterface.cpp @@ -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;