TUN-4940: Fix cloudflared not picking up correct NextProtos for quic

This commit is contained in:
Sudarsan Reddy 2021-08-21 17:31:28 +01:00
parent b6c85401a5
commit 071d595371
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ func prepareTunnelConfig(
if err != nil {
return nil, ingress.Ingress{}, errors.Wrap(err, "unable to create TLS config to connect with edge")
}
if len(edgeTLSConfig.NextProtos) > 0 {
if len(tlsSettings.NextProtos) > 0 {
edgeTLSConfig.NextProtos = tlsSettings.NextProtos
}
edgeTLSConfigs[p] = edgeTLSConfig