From efed6f196ecab333b76b83a5d256c9e4e6b75867 Mon Sep 17 00:00:00 2001 From: Toni Date: Wed, 16 Oct 2024 14:13:55 +0200 Subject: Read and parse configuration files. Fixes #41. (#42) Read and parse configuration files. Fixes #41. * supports nDPId / nDPIsrvd via command line parameter `-f` * nDPId: read general/tuning and libnDPI settings * support for settings risk domains libnDPI option via config file or via `-R` (Fixes #45, thanks to @UnveilTech) * added some documentation in the config file * adjusted Systemd and Debian packaging to make use of config files Signed-off-by: Toni Uhlig --- examples/c-analysed/c-analysed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/c-analysed') diff --git a/examples/c-analysed/c-analysed.c b/examples/c-analysed/c-analysed.c index 71ab7fa4a..2811f70f8 100644 --- a/examples/c-analysed/c-analysed.c +++ b/examples/c-analysed/c-analysed.c @@ -2059,7 +2059,7 @@ int main(int argc, char ** argv) } errno = 0; - if (user != NULL && change_user_group(user, group, pidfile, NULL, NULL) != 0) + if (user != NULL && change_user_group(user, group, pidfile) != 0) { if (errno != 0) { -- cgit v1.2.3