summaryrefslogtreecommitdiff
path: root/obfsvpn_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'obfsvpn_test.go')
-rw-r--r--obfsvpn_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/obfsvpn_test.go b/obfsvpn_test.go
index c627500..ad00fb9 100644
--- a/obfsvpn_test.go
+++ b/obfsvpn_test.go
@@ -25,7 +25,7 @@ func TestRoundTrip(t *testing.T) {
PrivateKey: pair.Private(),
StateDir: t.TempDir(),
}
- ln, err := lc.Listen(context.Background(), "tcp", ":0")
+ ln, err := lc.Listen(context.Background(), "tcp", "127.0.0.1:0")
if err != nil {
t.Fatalf("error listening for incoming connection: %v", err)
}