Merge pull request #200 from alagoutte/typo

Fix some typo
This commit is contained in:
Luca Deri
2016-05-23 21:38:36 +02:00
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ void ndpi_search_quic(struct ndpi_detection_module_struct *ndpi_struct,
ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_QUIC, NDPI_PROTOCOL_UNKNOWN); ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_QUIC, NDPI_PROTOCOL_UNKNOWN);
if(!strncmp((char*)&packet->payload[quic_hlen+17], "CHLO" /* Client Hello */, 4)) { if(!strncmp((char*)&packet->payload[quic_hlen+17], "CHLO" /* Client Hello */, 4)) {
/* Check if SNI (Server Name Indetification) is present */ /* Check if SNI (Server Name Identification) is present */
for(i=quic_hlen+12; i<udp_len-3; i++) { for(i=quic_hlen+12; i<udp_len-3; i++) {
if((packet->payload[i] == 'S') if((packet->payload[i] == 'S')
&& (packet->payload[i+1] == 'N') && (packet->payload[i+1] == 'N')