Moved NDPI_CURRENT_PROTO define before ndpi_api.h include to prevent a redefinition warning.

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2020-08-27 00:29:44 +02:00
parent c17463539f
commit 5b27dfdd0c
+1 -2
View File
@@ -21,14 +21,13 @@
*/
#include "ndpi_protocol_ids.h"
#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_DNP3
#include "ndpi_api.h"
/*
https://www.ixiacom.com/company/blog/scada-distributed-network-protocol-dnp3
*/
#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_DNP3
/* ******************************************************** */
void ndpi_search_dnp3_tcp(struct ndpi_detection_module_struct *ndpi_struct,