Skip to content

Commit b66cfb4

Browse files
committed
disable ipv6 for peer-to-peer discovery since it causes issues
1 parent a5bcf38 commit b66cfb4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/croc/croc.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,9 @@ func (c *Client) Send(options TransferOptions) (err error) {
367367
// add two things to the error channel
368368
errchan = make(chan error, 2)
369369
c.setupLocalRelay()
370-
go c.broadcastOnLocalNetwork(true)
370+
// broadcast on ipv6
371+
//go c.broadcastOnLocalNetwork(true)
372+
// broadcast on ipv4
371373
go c.broadcastOnLocalNetwork(false)
372374
go c.transferOverLocalRelay(options, errchan)
373375
}

0 commit comments

Comments
 (0)