]> git.meshlink.io Git - meshlink-tiny/blobdiff - test/netns_utils.c
Reduce the stack size of the background thread.
[meshlink-tiny] / test / netns_utils.c
index 4641c4e6591df0f90ae3c516d100b02006149b04..5e0ed2157f6ca50fd9ebe071f5381fab6d63c12b 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#include "../src/meshlink.h"
+#include "../src/meshlink-tiny.h"
 #include "netns_utils.h"
 #include "utils.h"
 
@@ -55,8 +55,6 @@ static void create_peers(peer_config_t *peers, int npeers, const char *prefix) {
                assert(peers[i].mesh);
                free(params);
                free(conf_path);
-
-               meshlink_enable_discovery(peers[i].mesh, false);
        }
 }