consul/agent/xds/net_fallback.go
R.B. Boyer 40987a2b69
xds: only try to create an ipv6 expose checks listener if ipv6 is supported by the kernel (#9794)
1.8.x backport of #9765

Conflicts:
- agent/xds/listeners_test.go
- test/integration/connect/envoy/helpers.bash
- agent/xds/testdata (different envoy versions)
2021-02-22 10:45:40 -06:00

8 lines
93 B
Go

// +build !linux
package xds
func kernelSupportsIPv6() (bool, error) {
return true, nil
}