X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincd.c;h=8401b2090a3ef3975501545383f56a46bd94f164;hb=9708bbfa8e3094de8932a30b1d24c661558d8a03;hp=45e29ab0a354b8d6d77f8d3a3bfeee4c888494f7;hpb=b99656d84a88dad7935d5981fcdb43a5b2bfa417;p=tinc diff --git a/src/tincd.c b/src/tincd.c index 45e29ab0..8401b209 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -356,8 +356,8 @@ 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 (built %s %s, protocol %d.%d)\n", PACKAGE, + VERSION, __DATE__, __TIME__, PROT_MAJOR, PROT_MINOR); printf("Copyright (C) 1998-2011 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"