]> git.meshlink.io Git - catta/blobdiff - avahi-core/announce.c
* split off lookup.h and publish.h from core.h
[catta] / avahi-core / announce.c
index c6edd83e8d15ec1bbfaa62fa7986c67af2c9bf60..c21b147a5577ed3961b87e03ebbc6cdeb7b8c4c4 100644 (file)
@@ -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);