aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/stun.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2021-10-06 18:32:15 +0200
committerGitHub <noreply@github.com>2021-10-06 18:32:15 +0200
commit2dfc478ad476bdb3f774fe83ad90ccd6aa4ff7c3 (patch)
tree863f3fc094c5ce9ec3d6d56820d3e499e274e59d /src/lib/protocols/stun.c
parent944e8ed105d1847f26b66059802c970735678139 (diff)
Fix compilation with clang-13 or if some debug macros are enabled (#1326)
Diffstat (limited to 'src/lib/protocols/stun.c')
-rw-r--r--src/lib/protocols/stun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/stun.c b/src/lib/protocols/stun.c
index 19129165b..f91be68b2 100644
--- a/src/lib/protocols/stun.c
+++ b/src/lib/protocols/stun.c
@@ -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);