X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=test%2Ftrio.c;h=4362f6da7b09fc98d9fc979e960e7107c0b31915;hp=a183b3da92493d09e299989f843b160ec2bb93b9;hb=fec95d1221c2d7e2059d6ba2fe244211ccee95ad;hpb=fe5563f92021618b4a8b41e412c73d8364fcaf6e diff --git a/test/trio.c b/test/trio.c index a183b3da..4362f6da 100644 --- a/test/trio.c +++ b/test/trio.c @@ -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]);