X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=avahi-core%2Fannounce.c;h=c21b147a5577ed3961b87e03ebbc6cdeb7b8c4c4;hb=1ffedb586bd2fb6daa3970304fac7c5b415cd38f;hp=c6edd83e8d15ec1bbfaa62fa7986c67af2c9bf60;hpb=5867849876e19996fd05a0d4917cb739904519c1;p=catta 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);