summaryrefslogtreecommitdiffstats
path: root/avahi-core/cache.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@debian.org>2008-01-28 12:49:53 +0000
committerSjoerd Simons <sjoerd@debian.org>2008-01-28 12:49:53 +0000
commit9a048b843719ad831c17b030ac522bc1e57122f8 (patch)
tree9b6f8378f4e5f79bf9c90d9921848793c0c2656a /avahi-core/cache.h
parentb58b25b6a55e547ebcf75115415753ed67fe1038 (diff)
Make the poof algorithm only positive if 4 unanswered queries each
at least one second apart are observed. This reduces the likelyhood of false positives a lot. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1746 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/cache.h')
-rw-r--r--avahi-core/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/avahi-core/cache.h b/avahi-core/cache.h
index edf9fa5..fd74005 100644
--- a/avahi-core/cache.h
+++ b/avahi-core/cache.h
@@ -48,8 +48,10 @@ struct AvahiCacheEntry {
AvahiCache *cache;
AvahiRecord *record;
struct timeval timestamp;
+ struct timeval poof_timestamp;
struct timeval expiry;
int cache_flush;
+ int poof_num;
AvahiAddress origin;