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 c6b0433 commit 3698938Copy full SHA for 3698938
transport/internet/tlsmirror/server/client.go
@@ -264,7 +264,7 @@ func (d *persistentMirrorTLSDialer) handleIncomingReadyConnection(conn internet.
264
func (d *persistentMirrorTLSDialer) Dial(ctx context.Context,
265
dest net.Destination, settings *internet.MemoryStreamConfig,
266
) (internet.Connection, error) {
267
- if d.enrollmentServerIdentifier != nil && len(d.enrollmentServerIdentifier) > 0 {
+ if len(d.enrollmentServerIdentifier) > 0 {
268
if mirrorcommon.IsLoopbackProtectionEnabled(ctx, d.enrollmentServerIdentifier) {
269
return nil, newError("loopback protection: refusing to dial to self")
270
}
0 commit comments