projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of black:tinc
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
9a26ec9
..
e7ea9b2
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-23,10
+23,7
@@
#include "avl_tree.h"
#include "conf.h"
#include "avl_tree.h"
#include "conf.h"
-#include "list.h"
#include "logger.h"
#include "logger.h"
-#include "net.h" /* Don't ask. */
-#include "netutl.h"
#include "subnet.h"
#include "utils.h"
#include "xalloc.h"
#include "subnet.h"
#include "utils.h"
#include "xalloc.h"
@@
-127,14
+124,3
@@
void dump_connections(void) {
logger(LOG_DEBUG, "End of connections.");
}
logger(LOG_DEBUG, "End of connections.");
}
-
-bool read_connection_config(connection_t *c) {
- char *fname;
- int x;
-
- xasprintf(&fname, "%s/hosts/%s", confbase, c->name);
- x = read_config_file(c->config_tree, fname);
- free(fname);
-
- return x == 0;
-}