mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-30 20:15:47 +00:00
Changes due to new nDPI behaviour with ndpi_extra_dissection_possible()
This commit is contained in:
parent
58a12f1241
commit
983e6ebe50
1 changed files with 0 additions and 5 deletions
|
|
@ -155,11 +155,6 @@ NetworkInterface::NetworkInterface(const char *name,
|
|||
if(ntop->getCustomnDPIProtos() != NULL)
|
||||
ndpi_load_protocols_file(ndpi_struct, ntop->getCustomnDPIProtos());
|
||||
|
||||
/* The DNS reply must be dissected to properly generate requests vs replies ratio
|
||||
* and update the DnsStats. */
|
||||
ndpi_set_detection_preferences(ndpi_struct, ndpi_pref_dns_dont_dissect_response, 0);
|
||||
ndpi_set_detection_preferences(ndpi_struct, ndpi_pref_http_dont_dissect_response, 1);
|
||||
|
||||
memset(d_port, 0, sizeof(d_port));
|
||||
ndpi_set_proto_defaults(ndpi_struct, NDPI_PROTOCOL_UNRATED, NTOPNG_NDPI_OS_PROTO_ID,
|
||||
0, no_master, no_master, (char*)"Operating System",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue