Skip to content

Commit

Permalink
disable ipv6 for peer-to-peer discovery since it causes issues
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Oct 19, 2020
1 parent a5bcf38 commit b66cfb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/croc/croc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit b66cfb4

Please sign in to comment.