From b8d74a04aff53d6697a1fa5ee32a77f878c65a84 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Fri, 23 May 2014 09:19:02 +0200 Subject: [PATCH] Make blacklisting persistent in the config file --- src/meshlink.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/meshlink.c b/src/meshlink.c index 01d3c6c3..319c765c 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -1252,6 +1252,9 @@ void meshlink_blacklist(meshlink_handle_t *mesh, meshlink_node_t *node) { n = (node_t*)node; n->status.blacklisted=true; fprintf(stderr, "Blacklisted %s.\n",node->name); + + //Make blacklisting persistent in the config file + append_config_file(mesh, n->name, "blacklisted", "1"); return; } -- 2.39.2