Skip to content

Commit

Permalink
add back ipv6 broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Oct 21, 2020
1 parent de03a51 commit ea0e334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/croc/croc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit ea0e334

Please sign in to comment.