cmd/relaysrv: vet: composite literal uses unkeyed fields
This commit is contained in:
@@ -29,7 +29,9 @@ func listener(addr string, config *tls.Config) {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
|
||||
listener := tlsutil.DowngradingListener{tcpListener, nil}
|
||||
listener := tlsutil.DowngradingListener{
|
||||
Listener: tcpListener,
|
||||
}
|
||||
|
||||
for {
|
||||
conn, isTLS, err := listener.AcceptNoWrapTLS()
|
||||
|
||||
Reference in New Issue
Block a user