projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Preload all Subnets in TunnelServer mode.
[oweals/tinc.git]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index 9a26ec9d44cc86df6f3d8f3aa830f93eabf8db88..6229e79d83be40c9d77a5592576494aa5b8e9d82 100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-130,11
+130,11
@@
void dump_connections(void) {
bool read_connection_config(connection_t *c) {
char *fname;
-
int
x;
+
bool
x;
xasprintf(&fname, "%s/hosts/%s", confbase, c->name);
x = read_config_file(c->config_tree, fname);
free(fname);
- return x
== 0
;
+ return x;
}