From: Christian Herdtweck Date: Wed, 29 Apr 2015 13:38:45 +0000 (+0200) Subject: removed the HostStatus::report_dns_resolution_failure (not used any more) X-Git-Url: http://developer.intra2net.com/git/?p=pingcheck;a=commitdiff_plain;h=0a1aea0ab1f7ceddf6abcdef43cbe4aec26abc07 removed the HostStatus::report_dns_resolution_failure (not used any more) --- 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;