mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
use local port
This commit is contained in:
parent
7af57b3390
commit
aae63876d6
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ func (c *Client) Send(options TransferOptions) (err error) {
|
|||
go func() {
|
||||
discoveries, err := peerdiscovery.Discover(peerdiscovery.Settings{
|
||||
Limit: 1,
|
||||
Payload: []byte("9009"),
|
||||
Payload: []byte(c.Options.RelayPorts[0]),
|
||||
Delay: 10 * time.Millisecond,
|
||||
TimeLimit: 30 * time.Second,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue