diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-07-30 01:13:56 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-07-30 01:13:56 +0000 |
commit | 48cfb3c876636d79dace3ebc8e82c946bc0b7ebf (patch) | |
tree | 484d9e332faa80fc75cb8364a20de231d0d0fd8a /avahi-core/announce.c | |
parent | 38b45921cd1d33119f1c06979a57bcfe982e22da (diff) |
* add new tool avahi-publish-address
* avahi-publish-service: fail after 12 collisions
* avahi-daemon: dump record data on SIGUSR1 to syslog
* avahi-core:
* improve dumping API
* shorten response history time to 500ms, infriniging the RFC but fixing ping-pong behaviour on RR registration
* remove gcc warning
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@195 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/announce.c')
-rw-r--r-- | avahi-core/announce.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/avahi-core/announce.c b/avahi-core/announce.c index 0b7af8d..fe461de 100644 --- a/avahi-core/announce.c +++ b/avahi-core/announce.c @@ -208,7 +208,7 @@ static void go_to_initial_state(AvahiAnnouncement *a, gboolean immediately) { g_assert(a); e = a->entry; - + if ((e->flags & AVAHI_ENTRY_UNIQUE) && !(e->flags & AVAHI_ENTRY_NOPROBE)) a->state = AVAHI_PROBING; else if (!(e->flags & AVAHI_ENTRY_NOANNOUNCE)) { @@ -342,6 +342,8 @@ gboolean avahi_entry_probing(AvahiServer *s, AvahiEntry *e, AvahiInterface *i) { if (!(a = avahi_get_announcement(s, e, i))) return FALSE; + +/* avahi_log_debug("state: %i", a->state); */ return a->state == AVAHI_PROBING || |