aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhuniya arif, xflowResearch <huniya.arif1@gmail.com>2017-09-14 11:38:31 +0500
committerhuniya arif, xflowResearch <huniya.arif1@gmail.com>2017-09-14 11:38:31 +0500
commitd4d4f2a17c9fdd641f754305ef6de2711ab2c19f (patch)
tree4d6242b6b3546f8735c55a9bacd2d97d9ceb4e9c /src
parentd3d6a95da74df48d66cfbc5eca4df72eacf85906 (diff)
Added LISP protocol. By Huniya Arif (xFlowResearch)
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_main.h2
-rw-r--r--src/lib/ndpi_main.c2
-rw-r--r--src/lib/protocols/lisp.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ndpi_main.h b/src/include/ndpi_main.h
index 24bdcb171..79eeab8f1 100644
--- a/src/include/ndpi_main.h
+++ b/src/include/ndpi_main.h
@@ -28,8 +28,8 @@
#include "ndpi_define.h"
#include "ndpi_protocol_ids.h"
#include "ndpi_typedefs.h"
-#include "ndpi_protocols.h"
#include "ndpi_api.h"
+#include "ndpi_protocols.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index f0b0407bb..26983f0a8 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -2741,7 +2741,7 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n
init_csgo_dissector(ndpi_struct, &a, detection_bitmask);
/* LISP */
- init_my_lisp_dissector(ndpi_struct, &a, detection_bitmask);
+ init_lisp_dissector(ndpi_struct, &a, detection_bitmask);
/* ----------------------------------------------------------------- */
diff --git a/src/lib/protocols/lisp.c b/src/lib/protocols/lisp.c
index 37077029c..531f7f68f 100644
--- a/src/lib/protocols/lisp.c
+++ b/src/lib/protocols/lisp.c
@@ -54,7 +54,7 @@ void ndpi_search_lisp(struct ndpi_detection_module_struct *ndpi_struct, struct n
}
-void init_my_lisp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask)
+void init_lisp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask)
{
ndpi_set_bitmask_protocol_detection("LISP", ndpi_struct, detection_bitmask, *id,
NDPI_PROTOCOL_LISP,