mirror of https://github.com/golang/go.git
net: fix typo in ControlContext parameter names
Change-Id: I35fcfb2d8cafadca36cffeebe0858973895946d7 Reviewed-on: https://go-review.googlesource.com/c/go/+/451419 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Damien Neil <dneil@google.com>
This commit is contained in:
parent
f64c2a2ce5
commit
f263d9cd93
|
|
@ -107,7 +107,7 @@ type Dialer struct {
|
|||
// will cause the Control function to be called with "tcp4" or "tcp6".
|
||||
//
|
||||
// If ControlContext is not nil, Control is ignored.
|
||||
ControlContext func(cxt context.Context, network, address string, c syscall.RawConn) error
|
||||
ControlContext func(ctx context.Context, network, address string, c syscall.RawConn) error
|
||||
}
|
||||
|
||||
func (d *Dialer) dualStack() bool { return d.FallbackDelay >= 0 }
|
||||
|
|
|
|||
Loading…
Reference in New Issue