use local port

This commit is contained in:
Zack Scholl 2019-05-02 11:45:42 -07:00
parent 7af57b3390
commit aae63876d6
1 changed files with 1 additions and 1 deletions

View File

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