From: Lennart Poettering Date: Sun, 28 Aug 2005 16:25:13 +0000 (+0000) Subject: * Withdraw addresses if interface is not considered relevant X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=e4583f74180a1a334ce2591316a6a63d74aafd97;p=catta * Withdraw addresses if interface is not considered relevant git-svn-id: file:///home/lennart/svn/public/avahi/trunk@471 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-core/iface.c b/avahi-core/iface.c index 8540720..d5fe5b1 100644 --- a/avahi-core/iface.c +++ b/avahi-core/iface.c @@ -47,7 +47,8 @@ static void update_address_rr(AvahiInterfaceMonitor *m, AvahiInterfaceAddress *a assert(m); assert(a); - if (m->list == LIST_DONE && + if (a->interface->announcing && + m->list == LIST_DONE && avahi_interface_address_relevant(a) && !remove_rrs && m->server->config.publish_addresses &&