mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
disable ipv6 for peer-to-peer discovery since it causes issues
This commit is contained in:
parent
a5bcf382e0
commit
b66cfb4cc1
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue