aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/Makefile.dpdk.in2
-rw-r--r--src/lib/ndpi_main.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/example/Makefile.dpdk.in b/example/Makefile.dpdk.in
index 523fcb72e..85c64a1d4 100644
--- a/example/Makefile.dpdk.in
+++ b/example/Makefile.dpdk.in
@@ -17,7 +17,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
APP = ndpiReader.dpdk
LIBNDPI = $(PWD)/../src/lib/libndpi.a
-SRCS-y := reader_util.c ndpiReader.c
+SRCS-y := reader_util.c intrusion_detection.c ndpiReader.c
CFLAGS += -g
CFLAGS += -Wno-strict-prototypes -Wno-missing-prototypes -Wno-missing-declarations -Wno-unused-parameter -I $(PWD)/../src/include @CFLAGS@ -DUSE_DPDK
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 95f9d1268..c2fe18556 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -256,10 +256,6 @@ u_int8_t ndpi_is_subprotocol_informative(struct ndpi_detection_module_struct *nd
switch(protoId) {
/* All dissectors that have calls to ndpi_match_host_subprotocol() */
case NDPI_PROTOCOL_DNS:
- case NDPI_PROTOCOL_HTTP:
- case NDPI_PROTOCOL_TLS:
- case NDPI_PROTOCOL_QUIC:
- case NDPI_PROTOCOL_FBZERO:
return(1);
break;