lib/oscar/networking.rb in oscar-0.2.0alpha2 vs lib/oscar/networking.rb in oscar-0.2.0alpha3

- old
+ new

@@ -28,20 +28,12 @@ def hosts_for(node) arr = [] arr << ['127.0.0.1', ['localhost']] - arr << ['127.0.1.1', [node.name, "#{node.name}.#{@domainname}"]] + arr << ['127.0.1.1', ["#{node.name}.#{@domainname}", node.name]] - arr << ['::1', %w{ip6-localhost ip6-loopback}] - - arr << ['fe00::0', ['ip6-localnet']] - arr << ['ff00::0', ['ip6-mcastprefix']] - arr << ['ff02::1', ['ip6-allnodes']] - arr << ['ff02::2', ['ip6-allrouters']] - @nodes.each_pair { |address, n| arr << [address, [n.name, "#{n.name}.#{@domainname}"]] } - arr end end