consul/agent/xds/net_fallback.go
R.B. Boyer 0fa96a2fa8 xds: only try to create an ipv6 expose checks listener if ipv6 is supported by the kernel (#9765)
Fixes #9311

This only fails if the kernel has ipv6 hard-disabled. It is not sufficient to merely not provide an ipv6 address for a network interface.
2021-02-19 20:39:21 +00:00

8 lines
93 B
Go

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