X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeshlink.c;h=6ebbdcb0aab4481f62d1a368c488f3f7176f823a;hb=fb3ae8985db2f41c498b4fdaf2ca1566dbc84954;hp=df257bf6e2a81ce535350491a4b5201a3dac11eb;hpb=529b4d002a9b8cfb9be829b1d1422b4a2e1205d2;p=meshlink diff --git a/src/meshlink.c b/src/meshlink.c index df257bf6..6ebbdcb0 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -1825,6 +1825,10 @@ void meshlink_whitelist(meshlink_handle_t *mesh, meshlink_node_t *node) { return; } +void meshlink_set_default_blacklist(meshlink_handle_t *mesh, bool blacklist) { + mesh->default_blacklist = blacklist; +} + /* Hint that a hostname may be found at an address * See header file for detailed comment. */