diff --git a/lib/net/ldap/connection.rb b/lib/net/ldap/connection.rb index b01984f4..9c19f622 100644 --- a/lib/net/ldap/connection.rb +++ b/lib/net/ldap/connection.rb @@ -710,7 +710,7 @@ def socket # Wrap around Socket.tcp to normalize with other Socket initializers class DefaultSocket def self.new(host, port, socket_opts = {}) - Socket.tcp(host, port, socket_opts) + Socket.tcp(host, port, **socket_opts) end end end # class Connection
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: