]> git.meshlink.io Git - meshlink/commitdiff
make blacklisted yes/no
authorSaverio Proto <zioproto@gmail.com>
Fri, 23 May 2014 07:56:00 +0000 (09:56 +0200)
committerSaverio Proto <zioproto@gmail.com>
Fri, 23 May 2014 07:56:00 +0000 (09:56 +0200)
src/meshlink.c

index 319c765cdffaf7394bdaa136700d69231fc213a0..816f77abe630540d7f3f2724be887d505c0cd4e0 100644 (file)
@@ -1254,7 +1254,7 @@ void meshlink_blacklist(meshlink_handle_t *mesh, meshlink_node_t *node) {
        fprintf(stderr, "Blacklisted %s.\n",node->name);
 
        //Make blacklisting persistent in the config file
-       append_config_file(mesh, n->name, "blacklisted", "1");
+       append_config_file(mesh, n->name, "blacklisted", "yes");
     return;
 
 }