mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 03:31:39 +00:00
logpolicy: remove deprecated DualStack directive.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
a6bd3a7e53
commit
1617a232e1
@ -253,7 +253,6 @@ func newLogtailTransport(host string) *http.Transport {
|
|||||||
nd := netns.Dialer()
|
nd := netns.Dialer()
|
||||||
nd.Timeout = 30 * time.Second
|
nd.Timeout = 30 * time.Second
|
||||||
nd.KeepAlive = 30 * time.Second
|
nd.KeepAlive = 30 * time.Second
|
||||||
nd.DualStack = true
|
|
||||||
t0 := time.Now()
|
t0 := time.Now()
|
||||||
c, err := nd.DialContext(ctx, netw, addr)
|
c, err := nd.DialContext(ctx, netw, addr)
|
||||||
d := time.Since(t0).Round(time.Millisecond)
|
d := time.Since(t0).Round(time.Millisecond)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user