mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-10 18:41:40 +00:00
stunner: support IPv6, add latency info to callbacks, use unique TxIDs per retry
And some more docs. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
@@ -232,7 +232,7 @@ func (c *Conn) determineEndpoints(ctx context.Context) ([]string, error) {
|
||||
|
||||
s := &stunner.Stunner{
|
||||
Send: c.pconn.WriteTo,
|
||||
Endpoint: func(s string) { addAddr(s, "stun") },
|
||||
Endpoint: func(server, endpoint string, d time.Duration) { addAddr(endpoint, "stun") },
|
||||
Servers: c.stunServers,
|
||||
Logf: c.logf,
|
||||
}
|
||||
|
Reference in New Issue
Block a user