summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index e0da835d0f..1577af8405 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -533,9 +533,7 @@ end
module RingIPv6
def prepare_ipv6(r)
Socket.getifaddrs.each do |ifaddr|
- p ifaddr
- end
- Socket.getifaddrs.each do |ifaddr|
+ next unless ifaddr.addr
next unless ifaddr.addr.ipv6_linklocal?
next if ifaddr.name[0, 2] == "lo"
r.multicast_interface = ifaddr.ifindex