Skip to content

Commit

Permalink
DPI: call ndpi_finalize_initalization
Browse files Browse the repository at this point in the history
nDPI 3.2 requires ndpi_finalize_initalization() to be called.

VRVDR-54593
  • Loading branch information
pjaitken committed Feb 25, 2021
1 parent d8a0190 commit 5cddfe2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/npf/dpi/ndpi.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
* Copyright (c) 2021 AT&T Intellectual Property. All rights reserved.
*
* SPDX-License-Identifier: LGPL-2.1-only
*/
Expand Down Expand Up @@ -204,6 +204,8 @@ dpi_ndpi_init(void)
fclose(file);
}

ndpi_finalize_initalization(detect);

detection_modules[lcore] = detect;
}

Expand Down

0 comments on commit 5cddfe2

Please sign in to comment.