summaryrefslogtreecommitdiff
path: root/lib/chef/monkey_patches/webrick-utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/monkey_patches/webrick-utils.rb')
-rw-r--r--lib/chef/monkey_patches/webrick-utils.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/monkey_patches/webrick-utils.rb b/lib/chef/monkey_patches/webrick-utils.rb
index 7f525f122f..c90c9fe251 100644
--- a/lib/chef/monkey_patches/webrick-utils.rb
+++ b/lib/chef/monkey_patches/webrick-utils.rb
@@ -25,10 +25,10 @@ module WEBrick
raise ArgumentError, "must specify port"
end
res = Socket.getaddrinfo(address, port,
- Socket::AF_UNSPEC, # address family
- Socket::SOCK_STREAM, # socket type
- 0, # protocol
- Socket::AI_PASSIVE) # flag
+ Socket::AF_UNSPEC, # address family
+ Socket::SOCK_STREAM, # socket type
+ 0, # protocol
+ Socket::AI_PASSIVE) # flag
last_error = nil
sockets = []
res.each do |ai|