git://developer.intra2net.com
/
pingcheck
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added clean-up to DnsCache: will remove very old entries after 60 days
[pingcheck]
/
src
/
dns
/
dnscache.h
diff --git
a/src/dns/dnscache.h
b/src/dns/dnscache.h
index
b7862a9
..
83292bc
100644
(file)
--- a/
src/dns/dnscache.h
+++ b/
src/dns/dnscache.h
@@
-97,6
+97,7
@@
private:
const DnsIpProtocol &protocol) const;
cname_map_key_type key_for_cname(const std::string &hostname) const;
bool check_timestamps(const boost::posix_time::ptime &cache_save_time);
+ void remove_old_entries();
};