aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/mongodb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/mongodb.c')
-rw-r--r--src/lib/protocols/mongodb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/mongodb.c b/src/lib/protocols/mongodb.c
index fe820dd46..1bf77fd57 100644
--- a/src/lib/protocols/mongodb.c
+++ b/src/lib/protocols/mongodb.c
@@ -119,8 +119,8 @@ static void ndpi_check_mongodb(struct ndpi_detection_module_struct *ndpi_struct,
}
}
-void ndpi_search_mongodb(struct ndpi_detection_module_struct *ndpi_struct,
- struct ndpi_flow_struct *flow)
+static void ndpi_search_mongodb(struct ndpi_detection_module_struct *ndpi_struct,
+ struct ndpi_flow_struct *flow)
{
// Break after 6 packets.
if(flow->packet_counter > 6) {