aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2022-09-09 20:17:17 +0200
committerToni <matzeton@googlemail.com>2022-09-11 13:33:32 +0200
commit678dd61866944eae011fa96f1c6d39d0c201858e (patch)
tree1de68b205c17a5753869bae6a536615ca9be9a34 /src/include
parentf44413e039ed65dca73606ff01d7e3ab8a1ca2bb (diff)
STUN: several improvements
Add detection over TCP and fix detection over IPv6. Rename some variables since Stun dissector is no more "udp-centric". Stun dissector should always classified the flow as `STUN` or `STUN/Something`. Don't touch `flow->guessed_host_protocol_id` field, which should be always be related to "ip-classification" only.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_typedefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index b86e66aeb..a71a01332 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1349,7 +1349,7 @@ struct ndpi_flow_struct {
} kerberos_buf;
struct {
- u_int8_t num_udp_pkts, num_binding_requests;
+ u_int8_t num_pkts, num_binding_requests;
u_int16_t num_processed_pkts;
} stun;