From db252e7d29b2bebda5bd7afc3dd6ef9ede14a3d2 Mon Sep 17 00:00:00 2001
From: Steve Kemp <steve@steve.org.uk>
Date: Sat, 24 Nov 2012 18:49:03 +0000
Subject:   Updated the ping test to use the correct hostname.

---
 lib/custodian/protocoltest/ping.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lib/custodian/protocoltest')

diff --git a/lib/custodian/protocoltest/ping.rb b/lib/custodian/protocoltest/ping.rb
index 03d4c0b..3d3d0d7 100644
--- a/lib/custodian/protocoltest/ping.rb
+++ b/lib/custodian/protocoltest/ping.rb
@@ -88,7 +88,7 @@ module Custodian
         #
         # Run the test: Avoiding the use of the shell.
         #
-        if ( system( binary, host ) == true )
+        if ( system( binary, @host ) == true )
           return true
         else
           @error = "Ping failed."
-- 
cgit v1.2.3