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:
@@ -21,14 +21,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ndpi_protocol_ids.h"
|
#include "ndpi_protocol_ids.h"
|
||||||
|
#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_DNP3
|
||||||
#include "ndpi_api.h"
|
#include "ndpi_api.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
https://www.ixiacom.com/company/blog/scada-distributed-network-protocol-dnp3
|
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,
|
void ndpi_search_dnp3_tcp(struct ndpi_detection_module_struct *ndpi_struct,
|
||||||
|
|||||||
Reference in New Issue
Block a user