summaryrefslogtreecommitdiffstats
path: root/avahi-core/announce.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/announce.c')
-rw-r--r--avahi-core/announce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/announce.c b/avahi-core/announce.c
index c6edd83..c21b147 100644
--- a/avahi-core/announce.c
+++ b/avahi-core/announce.c
@@ -443,7 +443,7 @@ void avahi_goodbye_entry(AvahiServer *s, AvahiEntry *e, int goodbye) {
/* avahi_log_debug("goodbye entry: %p", e); */
if (goodbye && !e->dead)
- avahi_interface_monitor_walk(s->monitor, 0, AF_UNSPEC, send_goodbye_callback, e);
+ avahi_interface_monitor_walk(s->monitor, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, send_goodbye_callback, e);
while (e->announcements)
remove_announcement(s, e->announcements);