X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprocess.c;h=9f99a94f8cc8eb432703454e075f3eb4d09e87e8;hb=2d2e94406c5f595eff67a01ee6bb1190f77c37ff;hp=98f4d33a811d0e9c3d6edd8d1a2a3d3413a7d29b;hpb=ffbc99558cae4dff876645fe205349d8c4cd7acb;p=tinc diff --git a/src/process.c b/src/process.c index 98f4d33a..9f99a94f 100644 --- a/src/process.c +++ b/src/process.c @@ -34,6 +34,7 @@ #include "subnet.h" #include "utils.h" #include "xalloc.h" +#include "version.h" /* If zero, don't detach from the terminal. */ bool do_detach = true; @@ -223,7 +224,7 @@ bool detach(void) { openlogger(identname, use_logfile?LOGMODE_FILE:(do_detach?LOGMODE_SYSLOG:LOGMODE_STDERR)); logger(DEBUG_ALWAYS, LOG_NOTICE, "tincd %s (%s %s) starting, debug level %d", - VERSION, __DATE__, __TIME__, debug_level); + BUILD_VERSION, BUILD_DATE, BUILD_TIME, debug_level); return true; }