We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8db49fb commit b9dc8f1Copy full SHA for b9dc8f1
internal/privnet/sixpn.go
@@ -75,7 +75,7 @@ func getResolver() *net.Resolver {
75
nameserver = net.JoinHostPort(nameserver, "53")
76
return &net.Resolver{
77
PreferGo: true,
78
- Dial: func(ctx context.Context, _network, _address string) (net.Conn, error) {
+ Dial: func(ctx context.Context, _, _ string) (net.Conn, error) {
79
d := net.Dialer{
80
Timeout: 1 * time.Second,
81
}
0 commit comments