STUN protocol dissector code cleanup

This commit is contained in:
Luca
2019-09-20 18:47:39 +02:00
parent f9716c5139
commit bdcc6dc173
5 changed files with 42 additions and 109 deletions
+2 -1
View File
@@ -628,7 +628,7 @@ int getTLScertificate(struct ndpi_detection_module_struct *ndpi_struct,
u_int8_t version_len = packet->payload[offset+4];
if(version_len == (extension_len-1)) {
/* Sanity check */
#ifdef DEBUG_TLS
u_int8_t j;
for(j=0; j<version_len; j += 2) {
@@ -636,6 +636,7 @@ int getTLScertificate(struct ndpi_detection_module_struct *ndpi_struct,
printf("Client SSL [TLS version: 0x%04X]\n", tls_version);
}
#endif
}
}