X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprocess.c;h=9f99a94f8cc8eb432703454e075f3eb4d09e87e8;hb=b2a6381ab28dbae4bf976627afccbf6c2fcb0625;hp=98f4d33a811d0e9c3d6edd8d1a2a3d3413a7d29b;hpb=e57daac63b6f703af8e7c8209ef61a4d3b2180c3;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; }