aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2015-07-01 17:40:14 +0200
committerLuca <deri@ntop.org>2015-07-01 17:40:14 +0200
commit60884f9047882863d27f7e8f5fb760897c599800 (patch)
tree2b09f2ec1a551b59a98baee790c858fb3e038ffe /example/ndpiReader.c
parent49ea23530f876930896dc5aa6a84ef6219589171 (diff)
Split former protocol into upper and lower protocol
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index d642f2501..e0a46829d 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -977,7 +977,7 @@ static unsigned int packet_processing(u_int16_t thread_id,
flow->detection_completed = 1;
if((flow->detected_protocol == NDPI_PROTOCOL_UNKNOWN) && (ndpi_flow->num_stun_udp_pkts > 0))
- ndpi_set_detected_protocol(ndpi_thread_info[thread_id].ndpi_struct, ndpi_flow, NDPI_PROTOCOL_STUN);
+ ndpi_set_detected_protocol(ndpi_thread_info[thread_id].ndpi_struct, ndpi_flow, NDPI_PROTOCOL_STUN, NDPI_PROTOCOL_UNKNOWN);
snprintf(flow->host_server_name, sizeof(flow->host_server_name), "%s", flow->ndpi_flow->host_server_name);