etcd: Don't force IPv4
We're working to support an IPv6 control plane, so don't force IPv4
addresses.
@@ -338,10 +338,6 @@ func ipAddrs(preferredIP string) ([]string, error) {
if ip == nil {
continue
}
- ip = ip.To4()
- if ip == nil {
- continue // not an ipv4 address
- }
if !ip.IsGlobalUnicast() {
continue // we only want global unicast address
}
