Fix compilation with clang-13 or if some debug macros are enabled (#1326)

This commit is contained in:
Ivan Nardi
2021-10-06 18:32:15 +02:00
committed by GitHub
parent 944e8ed105
commit 2dfc478ad4
3 changed files with 7 additions and 12 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ void ndpi_int_stun_add_connection(struct ndpi_detection_module_struct *ndpi_stru
#ifdef DEBUG_LRU
printf("[LRU] ADDING %u / %u.%u [%u -> %u]\n", key, proto, app_proto,
ntohs(flow->packet.udp->source), ntohs(flow->packet.udp->dest));
ntohs(packet->udp->source), ntohs(packet->udp->dest));
#endif
ndpi_lru_add_to_cache(ndpi_struct->stun_cache, key, app_proto);