Skip to content

Commit 071d595

Browse files
TUN-4940: Fix cloudflared not picking up correct NextProtos for quic
1 parent b6c8540 commit 071d595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cloudflared/tunnel/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func prepareTunnelConfig(
256256
if err != nil {
257257
return nil, ingress.Ingress{}, errors.Wrap(err, "unable to create TLS config to connect with edge")
258258
}
259-
if len(edgeTLSConfig.NextProtos) > 0 {
259+
if len(tlsSettings.NextProtos) > 0 {
260260
edgeTLSConfig.NextProtos = tlsSettings.NextProtos
261261
}
262262
edgeTLSConfigs[p] = edgeTLSConfig

0 commit comments

Comments
 (0)