aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r--example/ndpi_util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h
index 1c092cbfa..4895cdcb1 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -138,9 +138,9 @@ void ndpi_free_flow_info_half(struct ndpi_flow_info *flow);
/* Process a packet and update the workflow */
-void ndpi_workflow_process_packet (struct ndpi_workflow * workflow,
- const struct pcap_pkthdr *header,
- const u_char *packet);
+struct ndpi_proto ndpi_workflow_process_packet(struct ndpi_workflow * workflow,
+ const struct pcap_pkthdr *header,
+ const u_char *packet);
/* flow callbacks for complete detected flow