aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r--src/lib/ndpi_utils.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c
index 7fbecd9f9..645dfc12a 100644
--- a/src/lib/ndpi_utils.c
+++ b/src/lib/ndpi_utils.c
@@ -1373,16 +1373,6 @@ int ndpi_dpi2json(struct ndpi_detection_module_struct *ndpi_struct,
ndpi_serialize_end_of_block(serializer);
break;
- case NDPI_PROTOCOL_STUN:
- ndpi_serialize_start_of_block(serializer, "stun");
- ndpi_serialize_string_uint32(serializer, "num_pkts", flow->stun.num_pkts);
- ndpi_serialize_string_uint32(serializer, "num_binding_requests",
- flow->stun.num_binding_requests);
- ndpi_serialize_string_uint32(serializer, "num_processed_pkts",
- flow->stun.num_processed_pkts);
- ndpi_serialize_end_of_block(serializer);
- break;
-
case NDPI_PROTOCOL_TELNET:
ndpi_serialize_start_of_block(serializer, "telnet");
ndpi_serialize_string_string(serializer, "username", flow->protos.telnet.username);