From 536135866372cf64020498d6a3533bb966ea53e1 Mon Sep 17 00:00:00 2001 From: Subhajit Chatterjee Date: Tue, 10 Nov 2020 11:45:20 +0000 Subject: [PATCH] changes related to nDPI-3.4(stable) Signed-off-by: Subhajit Chatterjee --- debian/control | 2 +- src/npf/dpi/ndpi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 3b7ac8d7..995bba74 100644 --- a/debian/control +++ b/debian/control @@ -20,7 +20,7 @@ Build-Depends: autoconf-archive (>= 20150925), libinih-dev, libjson-c-dev, libmnl-dev, - libndpi-dev (>= 3.0), + libndpi-dev (>= 3.4), libnuma-dev, libosip2-dev, libpcap-dev (>= 1.7.0), diff --git a/src/npf/dpi/ndpi.c b/src/npf/dpi/ndpi.c index 6959f9b0..d8d03bd6 100644 --- a/src/npf/dpi/ndpi.c +++ b/src/npf/dpi/ndpi.c @@ -184,7 +184,7 @@ dpi_ndpi_init(void) RTE_LCORE_FOREACH(lcore) { struct ndpi_detection_module_struct *detect - = ndpi_init_detection_module(); + = ndpi_init_detection_module(ndpi_no_prefs); if (!detect) { RTE_LOG(ERR, DATAPLANE, "Failed to initialise detection module: %d\n",