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 958227e commit 42f828aCopy full SHA for 42f828a
command/connect/envoy/envoy.go
@@ -528,11 +528,7 @@ func (c *cmd) proxyRegistration(svcForSidecar *api.AgentService) (*api.AgentServ
528
// fallback to localhost as the gateway has to reside in the same network namespace
529
// as the agent
530
tcpCheckAddr = "127.0.0.1"
531
- ds, err := netutil.IsDualStack(nil, false)
532
- if err == nil {
533
- return nil, err
534
- }
535
- if ds {
+ if c.useIPv6loopback {
536
tcpCheckAddr = "::1"
537
}
538
0 commit comments