X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprotocol_edge.c;h=783da775bdec0c40d2b27d198ed841c14dfe3d60;hb=fb3ae8985db2f41c498b4fdaf2ca1566dbc84954;hp=89ed901d1979b0e04e5a865dc18deb78a2e2700f;hpb=06e5c20b092578b496593c4e2934ee726cb12469;p=meshlink diff --git a/src/protocol_edge.c b/src/protocol_edge.c index 89ed901d..783da775 100644 --- a/src/protocol_edge.c +++ b/src/protocol_edge.c @@ -102,6 +102,7 @@ bool add_edge_h(meshlink_handle_t *mesh, connection_t *c, const char *request) { if(!from) { from = new_node(); + from->status.blacklisted = mesh->default_blacklist; from->name = xstrdup(from_name); node_add(mesh, from); } @@ -111,6 +112,7 @@ bool add_edge_h(meshlink_handle_t *mesh, connection_t *c, const char *request) { if(!to) { to = new_node(); + to->status.blacklisted = mesh->default_blacklist; to->name = xstrdup(to_name); node_add(mesh, to); }