X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Ftincd.c;h=1ee8769fcaf32d91f745ef9cfdbafd3c7075d3b1;hb=3b117ab744100ca48f257ec6c9df83757cad8224;hp=7c30a26f16d40e33a75eba32a02302e97bd5b564;hpb=b83f62e0a9b4ca58b47749eec43b34f0ea04cfbb;p=tinc diff --git a/src/tincd.c b/src/tincd.c index 7c30a26f..1ee8769f 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -33,8 +33,8 @@ #include LZO1X_H #endif -#ifdef LZ4_H -#include LZ4_H +#ifdef HAVE_LZ4 +#include #endif #ifndef HAVE_MINGW @@ -61,9 +61,6 @@ static bool show_help = false; /* If nonzero, print the version on standard output and exit. */ static bool show_version = false; -/* If nonzero, use null ciphers and skip all key exchanges. */ -bool bypass_security = false; - #ifdef HAVE_MLOCKALL /* If nonzero, disable swapping for this process. */ static bool do_mlock = false; @@ -77,12 +74,6 @@ static bool do_chroot = false; static const char *switchuser = NULL; #endif -/* If nonzero, write log entries to a separate file. */ -bool use_logfile = false; - -/* If nonzero, use syslog instead of stderr in no-detach mode. */ -bool use_syslog = false; - char **g_argv; /* a copy of the cmdline arguments */ static int status = 1;