aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2024-11-04 22:02:13 +0100
committerLuca Deri <deri@ntop.org>2024-11-04 22:02:13 +0100
commit183175fc6b4c9e610fb22dfd69946cc7063b6a63 (patch)
tree9ae2c02ec1360a456416a4d96edaa49f1767a8a5 /example/reader_util.c
parent4e18a56d61e2c73e972bfd9d8a2ed72a57d2f0ee (diff)
Exported is_ndpi_proto definition
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index d230c9337..6ce02f001 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1072,7 +1072,7 @@ static struct ndpi_flow_info *get_ndpi_flow_info6(struct ndpi_workflow * workflo
/* ****************************************************** */
-static u_int8_t is_ndpi_proto(struct ndpi_flow_info *flow, u_int16_t id) {
+u_int8_t is_ndpi_proto(struct ndpi_flow_info *flow, u_int16_t id) {
if((flow->detected_protocol.proto.master_protocol == id)
|| (flow->detected_protocol.proto.app_protocol == id))
return(1);