projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention libcurses and libreadline in the manual.
[tinc]
/
src
/
tincctl.c
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
c1cabdb
..
344aa97
100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-57,7
+57,7
@@
static char *name = NULL;
static char *identname = NULL; /* program name for syslog */
static char *pidfilename = NULL; /* pid file location */
static char *confdir = NULL;
static char *identname = NULL; /* program name for syslog */
static char *pidfilename = NULL; /* pid file location */
static char *confdir = NULL;
-static char controlcookie[102
4
];
+static char controlcookie[102
5
];
char *netname = NULL;
char *confbase = NULL;
static char *tinc_conf = NULL;
char *netname = NULL;
char *confbase = NULL;
static char *tinc_conf = NULL;
@@
-708,8
+708,8
@@
static bool connect_tincd(bool verbose) {
return false;
}
return false;
}
- char host[12
8
];
- char port[12
8
];
+ char host[12
9
];
+ char port[12
9
];
if(fscanf(f, "%20d %1024s %128s port %128s", &pid, controlcookie, host, port) != 4) {
if(verbose)
if(fscanf(f, "%20d %1024s %128s port %128s", &pid, controlcookie, host, port) != 4) {
if(verbose)
@@
-1233,6
+1233,7
@@
static struct {
} const variables[] = {
/* Server configuration */
{"AddressFamily", VAR_SERVER},
} const variables[] = {
/* Server configuration */
{"AddressFamily", VAR_SERVER},
+ {"AutoConnect", VAR_SERVER},
{"BindToAddress", VAR_SERVER | VAR_MULTIPLE},
{"BindToInterface", VAR_SERVER},
{"Broadcast", VAR_SERVER},
{"BindToAddress", VAR_SERVER | VAR_MULTIPLE},
{"BindToInterface", VAR_SERVER},
{"Broadcast", VAR_SERVER},