Added cURL version in about

cURL include is now placed in ntop_includes.h
Minor cosmetic Win changes
This commit is contained in:
Luca Deri 2018-04-16 19:12:17 +02:00
parent 65e2302e86
commit 0b024d7dab
5 changed files with 6 additions and 6 deletions

View file

@ -1992,9 +1992,9 @@ bool NetworkInterface::dissectPacket(u_int32_t bridge_iface_idx,
if(h->len > ifMTU) {
if(!mtuWarningShown) {
ntop->getTrace()->traceEvent(TRACE_NORMAL, "Invalid packet received [len: %u][max-len: %u].", h->len, ifMTU);
ntop->getTrace()->traceEvent(TRACE_WARNING, "If you have TSO/GRO enabled, please disable it");
#ifdef __linux__
ntop->getTrace()->traceEvent(TRACE_NORMAL, "Invalid packet received [len: %u][max len: %u].", h->len, ifMTU);
ntop->getTrace()->traceEvent(TRACE_WARNING, "If you have TSO/GRO enabled, please disable it");
ntop->getTrace()->traceEvent(TRACE_WARNING, "Use sudo ethtool -K %s gro off gso off tso off", ifname);
#endif
mtuWarningShown = true;