X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeshlink.c;h=0efdb39780c372d3182d7eab89a0c1f1d2128e93;hb=5cb0c2139905daffee975b20dc6cb2d2faf29078;hp=bfadf61b320596304e925ee4e41a7c2d8319332e;hpb=976166f5b3cbdd238538fba6d275af8ad7e49e6a;p=meshlink diff --git a/src/meshlink.c b/src/meshlink.c index bfadf61b..0efdb397 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -1248,6 +1248,11 @@ bool meshlink_import(meshlink_handle_t *mesh, const char *data) { } void meshlink_blacklist(meshlink_handle_t *mesh, meshlink_node_t *node) { + node_t *n; + n = (node_t*)node; + n->status.blacklisted=true; + return; + } static void __attribute__((constructor)) meshlink_init(void) {