diff options
Diffstat (limited to 'lib/ping.rb')
-rw-r--r-- | lib/ping.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ping.rb b/lib/ping.rb index d698dd0c52..d90551e671 100644 --- a/lib/ping.rb +++ b/lib/ping.rb @@ -44,7 +44,7 @@ module Ping def pingecho(host, timeout=5, service="echo") begin timeout(timeout) do - s = TCPsocket.new(host, service) + s = TCPSocket.new(host, service) s.close end rescue Errno::ECONNREFUSED |