From: Guus Sliepen Date: Mon, 7 Sep 2020 19:10:22 +0000 (+0200) Subject: Update the invite-join test to update the canonical address after a port change. X-Git-Url: http://git.meshlink.io/?p=meshlink;a=commitdiff_plain;h=77af15ef03a9777a43fc14aedd566655b1547441 Update the invite-join test to update the canonical address after a port change. --- diff --git a/test/invite-join.c b/test/invite-join.c index cb592145..5bd5d415 100644 --- a/test/invite-join.c +++ b/test/invite-join.c @@ -160,6 +160,8 @@ int main(void) { int newport = meshlink_get_port(mesh1); assert(oldport != newport); + assert(meshlink_set_canonical_address(mesh1, meshlink_get_self(mesh1), "localhost", NULL)); + assert(meshlink_start(mesh1)); quux_url = meshlink_invite(mesh1, NULL, "quux"); assert(quux_url);