diff options
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 901c9c579..4b5f38101 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -7286,6 +7286,9 @@ uint8_t ndpi_connection_tracking(struct ndpi_detection_module_struct *ndpi_str, if(!name) return(0); + if(flow && (flow->packet.detected_protocol_stack[1] != NDPI_PROTOCOL_UNKNOWN)) + return(0); /* Ignore DGA check for protocols already fully detected */ + #ifdef DGA_DEBUG printf("[DGA] %s\n", name); #endif |