mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 21:30:16 +02:00
add back ipv6 broadcast
This commit is contained in:
parent
de03a5167a
commit
ea0e334feb
1 changed files with 2 additions and 2 deletions
|
@ -365,10 +365,10 @@ func (c *Client) Send(options TransferOptions) (err error) {
|
||||||
// add two things to the error channel
|
// add two things to the error channel
|
||||||
errchan = make(chan error, 2)
|
errchan = make(chan error, 2)
|
||||||
c.setupLocalRelay()
|
c.setupLocalRelay()
|
||||||
// broadcast on ipv6
|
|
||||||
//go c.broadcastOnLocalNetwork(true)
|
|
||||||
// broadcast on ipv4
|
// broadcast on ipv4
|
||||||
go c.broadcastOnLocalNetwork(false)
|
go c.broadcastOnLocalNetwork(false)
|
||||||
|
// broadcast on ipv6
|
||||||
|
go c.broadcastOnLocalNetwork(true)
|
||||||
go c.transferOverLocalRelay(options, errchan)
|
go c.transferOverLocalRelay(options, errchan)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue