aboutsummaryrefslogtreecommitdiff
path: root/example/intrusion_detection.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-02-04 22:31:02 +0100
committerLuca Deri <deri@ntop.org>2020-02-04 22:31:02 +0100
commit88fc9232ff1a7652777e4a41d118326c27ee185a (patch)
treeaacee4f25e58896e20b4e66f39c4d97ea67ab0ea /example/intrusion_detection.h
parent0703ab5ac558857319c2ed4a1673444006f915f8 (diff)
Code improvements
Diffstat (limited to 'example/intrusion_detection.h')
-rw-r--r--example/intrusion_detection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/intrusion_detection.h b/example/intrusion_detection.h
index f78095e67..d07965484 100644
--- a/example/intrusion_detection.h
+++ b/example/intrusion_detection.h
@@ -21,6 +21,9 @@
*
*/
+#ifndef _INTRUSION_DETECTION_H_
+#define _INTRUSION_DETECTION_H_
+
/*
Code to detect attacks reported in
@@ -62,3 +65,5 @@ double Hearthbleed_score(struct ndpi_flow_info* flow);
double Infiltration_score(struct ndpi_flow_info* flow);
double Ssh_patator_score(struct ndpi_flow_info* flow);
+
+#endif /* _INTRUSION_DETECTION_H_ */