From b3000b621b55a6abda34f2a8f8cfe840da5a6383 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 1 Nov 2017 15:30:44 -0700 Subject: [PATCH] brontide: within tests, listen on localhost rather than all interfaces --- brontide/noise_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brontide/noise_test.go b/brontide/noise_test.go index 094d1bac..3e9ab211 100644 --- a/brontide/noise_test.go +++ b/brontide/noise_test.go @@ -27,7 +27,7 @@ func establishTestConnection() (net.Conn, net.Conn, func(), error) { // Having a port of ":0" means a random port, and interface will be // chosen for our listener. - addr := ":0" + addr := "localhost:0" // Our listener will be local, and the connection remote. listener, err := NewListener(localPriv, addr)