summaryrefslogtreecommitdiff
path: root/obfsvpn_test.go
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2022-03-15 11:18:21 -0400
committerSam Whited <sam@samwhited.com>2022-03-15 11:18:21 -0400
commitecd614e2909622b67676ee079bdf34317a3e0ac0 (patch)
treeb62b57a47508aa2d9fb14d7c89cffeb3b3c129fc /obfsvpn_test.go
parentc51fb38aae17da3de9cbd52cc82822daa4329a8b (diff)
Support KCP as a network typekcp
Signed-off-by: Sam Whited <sam@samwhited.com>
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)
}