From b66cfb4cc1dfe8e1c72b832623dc110035d4b88e Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Mon, 19 Oct 2020 11:02:48 -0700 Subject: [PATCH] disable ipv6 for peer-to-peer discovery since it causes issues --- src/croc/croc.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/croc/croc.go b/src/croc/croc.go index 9d951959..bffa7260 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -367,7 +367,9 @@ func (c *Client) Send(options TransferOptions) (err error) { // add two things to the error channel errchan = make(chan error, 2) c.setupLocalRelay() - go c.broadcastOnLocalNetwork(true) + // broadcast on ipv6 + //go c.broadcastOnLocalNetwork(true) + // broadcast on ipv4 go c.broadcastOnLocalNetwork(false) go c.transferOverLocalRelay(options, errchan) }