]> git.meshlink.io Git - meshlink-tiny/blobdiff - test/import-export.c
Remove graph, edges and communication via UDP.
[meshlink-tiny] / test / import-export.c
index 15981ed9f673b032740ebbf9371482661ac4de41..3382fee4dea5a3a387726cb51b8bd7488d14d17e 100644 (file)
@@ -9,7 +9,7 @@
 #include <sys/time.h>
 #include <assert.h>
 
-#include "meshlink.h"
+#include "meshlink-tiny.h"
 #include "utils.h"
 
 static struct sync_flag bar_reachable;
@@ -48,11 +48,6 @@ int main(void) {
        meshlink_handle_t *mesh2 = meshlink_open("import_export_conf.2", "bar", "import-export", DEV_CLASS_BACKBONE);
        assert(mesh2);
 
-       // Disable local discovery
-
-       meshlink_enable_discovery(mesh1, false);
-       meshlink_enable_discovery(mesh2, false);
-
        // Import and export both side's data
 
        assert(meshlink_set_canonical_address(mesh1, meshlink_get_self(mesh1), "localhost", NULL));