1
0
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:
Zack Scholl 2020-10-21 08:17:39 -07:00
parent de03a5167a
commit ea0e334feb

View File

@ -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)
}