From 0a1aea0ab1f7ceddf6abcdef43cbe4aec26abc07 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Wed, 29 Apr 2015 15:38:45 +0200 Subject: [PATCH] removed the HostStatus::report_dns_resolution_failure (not used any more) --- src/host/hoststatus.cpp | 5 ----- src/host/hoststatus.h | 1 - 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/src/host/hoststatus.cpp b/src/host/hoststatus.cpp index f6a0257..41cab9e 100644 --- a/src/host/hoststatus.cpp +++ b/src/host/hoststatus.cpp @@ -106,11 +106,6 @@ void HostStatus::update_ping_statistics( bool ping_success ) BOOST_ASSERT( PingsFailedCount <= PingsPerformedCount ); } -void HostStatus::report_dns_resolution_failure() -{ - LinkAnalyzer->notify_host_down( HostAddress ); -} - bool HostStatus::tried_all_resolved_ip() const { diff --git a/src/host/hoststatus.h b/src/host/hoststatus.h index 0bb1478..c5f558d 100644 --- a/src/host/hoststatus.h +++ b/src/host/hoststatus.h @@ -46,7 +46,6 @@ public: void set_resolved_ip_count( const int resolved_ip_count ); bool exceeded_ping_failed_limit() const; void update_ping_statistics( bool ping_success ); - void report_dns_resolution_failure(); private: bool tried_all_resolved_ip() const; -- 1.7.1