From 9a048b843719ad831c17b030ac522bc1e57122f8 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Mon, 28 Jan 2008 12:49:53 +0000 Subject: 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 --- avahi-core/cache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'avahi-core/cache.h') 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; -- cgit