diff options
author | Luca Deri <deri@ntop.org> | 2021-01-07 11:07:17 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-01-07 11:07:17 +0100 |
commit | 367184628e85a204c006ce9461d9766384aba03f (patch) | |
tree | 5690b432ae59c86bf8620825f7ae11fc620bf12b /src/lib | |
parent | 5f7b9d802498215f5769a8bfa39d92356da2cfdd (diff) |
Warning fix
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/protocols/quic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/quic.c b/src/lib/protocols/quic.c index a4c93ed1e..f4336649c 100644 --- a/src/lib/protocols/quic.c +++ b/src/lib/protocols/quic.c @@ -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); } |