Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Return the correct address family

  • Loading branch information...
commit 7d3b55735d908119f77e21e1babb56348fb8503b 1 parent da26e6c
@aw aw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/statsd.rb
View
2  lib/statsd.rb
@@ -395,6 +395,6 @@ def socket
end
def addr_family
- Addrinfo.udp(@host, @port).ipv6 ? Socket::AF_INET6 : Socket::AF_INET
+ Addrinfo.udp(@host, @port).ipv6? ? Socket::AF_INET6 : Socket::AF_INET
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.