diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/lib/socket.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/socket/lib/socket.rb b/ext/socket/lib/socket.rb index 8898b51b47..621a60c9f6 100644 --- a/ext/socket/lib/socket.rb +++ b/ext/socket/lib/socket.rb @@ -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 } |