From 79afcea91aa6882eede47b5cddc4f097454b6027 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 8 Aug 2020 14:02:52 -0700 Subject: fixes #1279 Add support for ws4:// and ws6:// style websocket urls fixes #1277 FreeBSD errors due to bad v4 vs. v6 assumptions --- tests/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tcp.c') diff --git a/tests/tcp.c b/tests/tcp.c index 8975da33..1288af01 100644 --- a/tests/tcp.c +++ b/tests/tcp.c @@ -84,7 +84,7 @@ TestMain("TCP Transport", { nng_close(s2); nng_close(s1); }); - trantest_next_address(addr, "tcp://*:%u"); + trantest_next_address(addr, "tcp4://*:%u"); So(nng_listen(s1, addr, NULL, 0) == 0); // reset port back one trantest_prev_address(addr, "tcp://127.0.0.1:%u"); -- cgit v1.2.3-70-g09d2