Displaying 2 results from an estimated 2 matches for "dump_connections".
2010 Sep 03
1
[PATCH] New '-o' option to configure server or hosts from command line
...bool read_config_file(avl_tree_t *, const char *);
extern bool read_server_config(void);
extern FILE *ask_and_open(const char *, const char *);
diff --git a/src/connection.c b/src/connection.c
index 6229e79..36c0fdb 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -129,9 +129,24 @@ void dump_connections(void) {
}
bool read_connection_config(connection_t *c) {
+ list_node_t *node, *next;
+ size_t name_len = strlen(c->name);
char *fname;
bool x;
+ for(node = cmdline_conf->tail; node; node = next) {
+ config_t *cfg = (config_t *)node->data;
+ next = node->prev;
+ if (!strn...
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a
spam filter; I'll link to patches instead of attaching them.)
Here are the tincctl patches I've been working on. They apply to
http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit
them once the crypto stuff's fixed. Since they're basically done, I'm
emailing them now for review and in case