From fc48eef0ef72c8fd7ebd55f9692b6a83695ec405 Mon Sep 17 00:00:00 2001 From: Junfeng Wang Date: Mon, 9 Sep 2019 08:13:54 -0400 Subject: modify source code 1. add CMakeList for udpi 2. modify code to make it can be compiled without vpp source code Change-Id: Iabb7337a0db95d981f4ecc4e3e0cc3a3545dd5cf Signed-off-by: Junfeng Wang --- src/dpi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dpi.c') diff --git a/src/dpi.c b/src/dpi.c index 1cb482e..6423f3a 100644 --- a/src/dpi.c +++ b/src/dpi.c @@ -27,13 +27,13 @@ #include #include #include -#include +//#include #include #include -#include +//#include #include -#include +#include "dpi.h" dpi_main_t dpi_main; dpi_entry_t *dpi_dbs = NULL; @@ -709,7 +709,7 @@ VLIB_INIT_FUNCTION (dpi_init); /* *INDENT-OFF* */ VLIB_PLUGIN_REGISTER () = { - .version = VPP_BUILD_VER, +// .version = VPP_BUILD_VER, .description = "Deep Packet Inspection", }; /* *INDENT-ON* */ -- cgit 1.2.3-korg