X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=7d27341effe7f21f397f10ef32761decc9426420;hb=9708bbfa8e3094de8932a30b1d24c661558d8a03;hp=00a296dc73a1184fd8b915ecefae01253b075d42;hpb=b99656d84a88dad7935d5981fcdb43a5b2bfa417;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index 00a296dc..7d27341e 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -497,8 +497,8 @@ int main(int argc, char *argv[], char *envp[]) { 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 (built %s %s, protocol %d.%d)\n", PACKAGE, + VERSION, __DATE__, __TIME__, PROT_MAJOR, PROT_MINOR); printf("Copyright (C) 1998-2009 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"