From 5a1a8a9ecbfcfa90a09ce2a0006c39d97af9ee63 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 14 Nov 2012 20:21:18 +0000 Subject: Use the correct result in the string. --- lib/custodian/alerter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/custodian/alerter.rb b/lib/custodian/alerter.rb index c21e1e9..ec6168d 100644 --- a/lib/custodian/alerter.rb +++ b/lib/custodian/alerter.rb @@ -55,9 +55,9 @@ class Alerter # Test trange # if ( BYTEMARK_RANGES.any?{|range| range.include?(IPAddr.new(resolved.to_s))} ) - return "

#{host} resolves to #{target} which is inside the Bytemark network.

" + return "

#{host} resolves to #{resolved} which is inside the Bytemark network.

" else - return "

#{host} resolves to #{target} which is not inside the Bytemark network.

" + return "

#{host} resolves to #{resolved} which is not inside the Bytemark network.

" end end -- cgit v1.2.1