Remove use of __DATE__ and __TIME__ to facilitate reproducible builds.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 9 Apr 2016 13:42:12 +0000 (15:42 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 9 Apr 2016 13:42:12 +0000 (15:42 +0200)
src/tincd.c

index 205d099..f106f5f 100644 (file)
@@ -553,8 +553,7 @@ int main(int argc, char **argv) {
        make_names();
 
        if(show_version) {
-               printf("%s version %s (built %s %s, protocol %d)\n", PACKAGE,
-                          VERSION, __DATE__, __TIME__, PROT_CURRENT);
+               printf("%s version %s\n", PACKAGE, VERSION);
                printf("Copyright (C) 1998-2016 Ivo Timmermans, Guus Sliepen and others.\n"
                                "See the AUTHORS file for a complete list.\n\n"
                                "tinc comes with ABSOLUTELY NO WARRANTY.  This is free software,\n"