From 204b08b0983a8ddd8436c0dcfb8364fe38e33beb Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Fri, 23 May 2014 10:44:48 +0200 Subject: [PATCH] Revert "Dont setup outgoing connection to blacklisted nodes" This reverts commit 8ac2f217eff96f2bc9da8a41031d453bf0f16a29. --- src/net_socket.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/net_socket.c b/src/net_socket.c index 2564a9c1..3cbc5dd6 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -658,7 +658,6 @@ void try_outgoing_connections(meshlink_handle_t *mesh) { // TODO: Drop support for ConnectTo since AutoConnect is now always on? for(config_t *cfg = lookup_config(mesh->config, "ConnectTo"); cfg; cfg = lookup_config_next(mesh->config, cfg)) { char *name; - bool blacklisted; get_config_string(cfg, &name); if(!check_id(name)) { @@ -669,10 +668,6 @@ void try_outgoing_connections(meshlink_handle_t *mesh) { continue; } - get_config_bool(lookup_config(mesh->config, "blacklisted"), &blacklisted); - if (blacklisted) - continue; - bool found = false; for list_each(outgoing_t, outgoing, mesh->outgoings) { -- 2.39.5