]> git.meshlink.io Git - meshlink-tiny/blobdiff - test/invite-join.c
Remove graph, edges and communication via UDP.
[meshlink-tiny] / test / invite-join.c
index 5bd5d415044e4ceb9a79a748ebe6abc9f806f676..e84ddd83634e32ce69da0f90aa0a4096287b0afb 100644 (file)
@@ -10,7 +10,7 @@
 #include <assert.h>
 #include <errno.h>
 
-#include "meshlink.h"
+#include "meshlink-tiny.h"
 #include "devtools.h"
 #include "utils.h"
 
@@ -72,12 +72,6 @@ int main(void) {
        meshlink_handle_t *mesh3 = meshlink_open("invite_join_conf.3", "quux", "invite-join", DEV_CLASS_BACKBONE);
        assert(mesh3);
 
-       // Disable local discovery.
-
-       meshlink_enable_discovery(mesh1, false);
-       meshlink_enable_discovery(mesh2, false);
-       meshlink_enable_discovery(mesh3, false);
-
        // Have the first instance generate invitations.
 
        meshlink_set_node_status_cb(mesh1, status_cb);