diff options
-rw-r--r-- | avahi-core/announce.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/avahi-core/announce.c b/avahi-core/announce.c index 9023fdc..cc7cc31 100644 --- a/avahi-core/announce.c +++ b/avahi-core/announce.c @@ -515,13 +515,14 @@ void avahi_goodbye_entry(AvahiServer *s, AvahiEntry *e, int send_goodbye, int re assert(s); assert(e); - /* tracing message for wide-area pub development */ - printf("--- record of type %d named %s observed at exitpoint\n", e->record->key->type, e->record->key->name); - if (send_goodbye) - if (!e->dead) + if (!e->dead) { avahi_interface_monitor_walk(s->monitor, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, send_goodbye_callback, e); + /* tracing message for wide-area pub development */ + printf("--- record of type %d named %s observed at exitpoint\n", e->record->key->type, e->record->key->name); + } + if (remove) while (e->announcers) remove_announcer(s, e->announcers); |