]> git.meshlink.io Git - meshlink/blobdiff - test/trio2.c
Add meshlink_add_invitation_address(), deprecate meshlink_add_address().
[meshlink] / test / trio2.c
index 57312988e1b174885eeff1a08c8f53483bb06dd0..d57af9601c29bfae753f68de4eabdb7a165baf77 100644 (file)
@@ -65,7 +65,7 @@ int main() {
                assert(mesh[i]);
                free(path);
 
-               assert(meshlink_add_address(mesh[i], "localhost"));
+               assert(meshlink_set_canonical_address(mesh[i], meshlink_get_self(mesh[i]), "localhost", NULL));
 
                data[i] = meshlink_export(mesh[i]);
                assert(data[i]);