aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-03-25 12:51:06 +0100
committerLuca Deri <deri@ntop.org>2020-03-25 12:51:06 +0100
commit47a4507d9ee6bd224d3b76e22a0efdab0b949d9d (patch)
tree51a0d24935c13ab8a804ccc479d3ac0ef84a57b1 /src
parentc8a176746568f145737935912421e03d342f925f (diff)
NDPI_API_VERSION is now computed automatically
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_api.h.in (renamed from src/include/ndpi_api.h)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h.in
index 5028f111b..fb409c0eb 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h.in
@@ -34,7 +34,7 @@ extern "C" {
/* The #define below is used for apps that dynamically link with nDPI to make
sure that datastructures and in sync across versions
*/
-#define NDPI_API_VERSION 1
+#define NDPI_API_VERSION @NDPI_API_VERSION@
#define SIZEOF_ID_STRUCT ( sizeof(struct ndpi_id_struct) )
#define SIZEOF_FLOW_STRUCT ( sizeof(struct ndpi_flow_struct) )