mirror of
https://github.com/schollz/croc.git
synced 2024-11-28 09:35:14 +03:00
add back ipv6 broadcast
This commit is contained in:
parent
de03a5167a
commit
ea0e334feb
@ -365,10 +365,10 @@ func (c *Client) Send(options TransferOptions) (err error) {
|
||||
// add two things to the error channel
|
||||
errchan = make(chan error, 2)
|
||||
c.setupLocalRelay()
|
||||
// broadcast on ipv6
|
||||
//go c.broadcastOnLocalNetwork(true)
|
||||
// broadcast on ipv4
|
||||
go c.broadcastOnLocalNetwork(false)
|
||||
// broadcast on ipv6
|
||||
go c.broadcastOnLocalNetwork(true)
|
||||
go c.transferOverLocalRelay(options, errchan)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user