Warning fix
This commit is contained in:
@@ -1281,7 +1281,7 @@ static void process_chlo(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
NDPI_LOG_DBG(ndpi_struct, "Something went wrong in tags iteration\n");
|
||||
|
||||
/* Add check for missing SNI */
|
||||
if((flow->protos.stun_ssl.ssl.client_requested_server_name[0] == 0)) {
|
||||
if(flow->protos.stun_ssl.ssl.client_requested_server_name[0] == '\0') {
|
||||
/* This is a bit suspicious */
|
||||
NDPI_SET_BIT(flow->risk, NDPI_TLS_MISSING_SNI);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user