mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 22:45:03 +02:00
* ext/socket/lib/socket.rb (udp_server_sockets): unused variable
removed. patch by Jeremy Evans. [ruby-core:38600] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c346da70e
commit
32cfc7cefd
2 changed files with 6 additions and 2 deletions
|
@ -541,12 +541,10 @@ class Socket < BasicSocket
|
|||
end
|
||||
end
|
||||
|
||||
pktinfo_sockets = {}
|
||||
sockets.each {|s|
|
||||
ai = s.local_address
|
||||
if ipv6_recvpktinfo && ai.ipv6? && ai.ip_address == "::"
|
||||
s.setsockopt(:IPV6, ipv6_recvpktinfo, 1)
|
||||
pktinfo_sockets[s] = true
|
||||
end
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue