X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=test%2Fimport-export.c;h=411a7a21ce0e3b4575dc5521fc8108158a8796d4;hb=eeef1270f5cc3c6872676d57c6d2befe372a6f20;hp=546ad7571f9840afb9101945dd5e325b96f746d5;hpb=43ec833c7c2c151bafa7f1434905f51feebab4c0;p=meshlink diff --git a/test/import-export.c b/test/import-export.c index 546ad757..411a7a21 100644 --- a/test/import-export.c +++ b/test/import-export.c @@ -27,6 +27,11 @@ int main(int argc, char *argv[]) { return 1; } + // Disable local discovery + + meshlink_enable_discovery(mesh1, false); + meshlink_enable_discovery(mesh2, false); + // Import and export both side's data meshlink_add_address(mesh1, "localhost"); @@ -62,7 +67,7 @@ int main(int argc, char *argv[]) { // Start both instances meshlink_set_node_status_cb(mesh1, status_cb); - + if(!meshlink_start(mesh1)) { fprintf(stderr, "Foo could not start\n"); return 1;