projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have tincctl act as a shell when no command is given.
[tinc]
/
src
/
info.c
diff --git
a/src/info.c
b/src/info.c
index
6d0435f
..
0ff56cd
100644
(file)
--- a/
src/info.c
+++ b/
src/info.c
@@
-104,8
+104,8
@@
static int info_node(int fd, const char *item) {
printf(" reachable");
if(status.indirect)
printf(" indirect");
printf(" reachable");
if(status.indirect)
printf(" indirect");
- if(status.
ecdh
)
- printf("
ecdh
");
+ if(status.
sptps
)
+ printf("
sptps
");
printf("\n");
printf("Options: ");
if(options & OPTION_INDIRECT)
printf("\n");
printf("Options: ");
if(options & OPTION_INDIRECT)
@@
-117,6
+117,7
@@
static int info_node(int fd, const char *item) {
if(options & OPTION_CLAMP_MSS)
printf(" clamp_mss");
printf("\n");
if(options & OPTION_CLAMP_MSS)
printf(" clamp_mss");
printf("\n");
+ printf("Protocol: %d.%d\n", PROT_MAJOR, OPTION_VERSION(options));
printf("Reachability: ");
if(!*port)
printf("can reach itself\n");
printf("Reachability: ");
if(!*port)
printf("can reach itself\n");