X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.c;h=fecb48d42d141d37a1830e039fd91e8d629736d9;hb=a22041922f160667573e9a5ae3f4195e1668906a;hp=519cf5b39bb507f0b1b997d149aa7608b6e08b6b;hpb=d6c50eb73ad49bd2eac67214995dff76b7a20661;p=tinc diff --git a/src/connection.c b/src/connection.c index 519cf5b3..fecb48d4 100644 --- a/src/connection.c +++ b/src/connection.c @@ -106,14 +106,3 @@ bool dump_connections(connection_t *cdump) { return send_request(cdump, "%d %d", CONTROL, REQ_DUMP_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; -}