From 46aae390b67250e14df3ff7d8a89ddcfa32d1078 Mon Sep 17 00:00:00 2001 From: Antaryo Date: Tue, 26 Nov 2024 17:06:13 +0300 Subject: [PATCH] Set base magic_ct to zero Now magic_ct is set to be generate every module load without params --- ndpi-netfilter/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndpi-netfilter/src/main.c b/ndpi-netfilter/src/main.c index bf30afb35ed..821de86ce4e 100644 --- a/ndpi-netfilter/src/main.c +++ b/ndpi-netfilter/src/main.c @@ -268,7 +268,7 @@ static inline int flow_have_info( struct nf_ct_ext_ndpi *c) { static ndpi_protocol_nf proto_null = {NDPI_PROTOCOL_UNKNOWN , NDPI_PROTOCOL_UNKNOWN}; -static unsigned short MAGIC_CT = 0xa55a; +static unsigned short MAGIC_CT = 0x00; unsigned long int ndpi_flow_limit=10000000; // 4.3Gb unsigned long int ndpi_enable_flow=0;