]> git.meshlink.io Git - meshlink/blobdiff - test/import-export.c
Add devclass argument to calls to meshlink_open() in all tests.
[meshlink] / test / import-export.c
index f2229589ab5da907870561820df3fc5e8bff3814..546ad7571f9840afb9101945dd5e325b96f746d5 100644 (file)
@@ -15,13 +15,13 @@ void status_cb(meshlink_handle_t *mesh, meshlink_node_t *node, bool reachable) {
 int main(int argc, char *argv[]) {
        // Open two new meshlink instance.
 
-       meshlink_handle_t *mesh1 = meshlink_open("import_export_conf.1", "foo", "import-export");
+       meshlink_handle_t *mesh1 = meshlink_open("import_export_conf.1", "foo", "import-export", DEV_CLASS_BACKBONE);
        if(!mesh1) {
                fprintf(stderr, "Could not initialize configuration for foo\n");
                return 1;
        }
 
-       meshlink_handle_t *mesh2 = meshlink_open("import_export_conf.2", "bar", "import-export");
+       meshlink_handle_t *mesh2 = meshlink_open("import_export_conf.2", "bar", "import-export", DEV_CLASS_BACKBONE);
        if(!mesh2) {
                fprintf(stderr, "Could not initialize configuration for bar\n");
                return 1;