projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a minor number to the protocol version.
[tinc]
/
src
/
tincctl.c
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
00a296d
..
7d27341
100644
(file)
--- 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) {
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"
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"