X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=test%2Fget-all-nodes.c;h=815dc7df328376254f002c7b1c37918deb0c0e96;hp=3340982b15f6f5a33a1d7371db853544a2e5d79b;hb=1278c5d654a4f555a1be1ce5351017201fe34d0b;hpb=ce76e2051ce668ff4623263215bf4b38cfca46ca diff --git a/test/get-all-nodes.c b/test/get-all-nodes.c index 3340982b..815dc7df 100644 --- a/test/get-all-nodes.c +++ b/test/get-all-nodes.c @@ -36,10 +36,10 @@ int main(void) { assert(meshlink_destroy("get_all_nodes_conf.3")); meshlink_handle_t *mesh[3]; - mesh[0] = meshlink_open("get_all_nodes_conf.1", "foo", "import-export", DEV_CLASS_BACKBONE); + mesh[0] = meshlink_open("get_all_nodes_conf.1", "foo", "get-all-nodes", DEV_CLASS_BACKBONE); assert(mesh[0]); - mesh[1] = meshlink_open("get_all_nodes_conf.2", "bar", "import-export", DEV_CLASS_STATIONARY); + mesh[1] = meshlink_open("get_all_nodes_conf.2", "bar", "get-all-nodes", DEV_CLASS_STATIONARY); assert(mesh[1]); mesh[2] = meshlink_open("get_all_nodes_conf.3", "baz", "get-all-nodes", DEV_CLASS_STATIONARY); @@ -169,7 +169,7 @@ int main(void) { meshlink_close(mesh[0]); sleep(2); time_t foo_stopped = time(NULL); - mesh[0] = meshlink_open("get_all_nodes_conf.1", "foo", "import-export", DEV_CLASS_BACKBONE); + mesh[0] = meshlink_open("get_all_nodes_conf.1", "foo", "get-all_nodes", DEV_CLASS_BACKBONE); assert(mesh[0]); nodes = meshlink_get_all_nodes(mesh[0], nodes, &nnodes);