From e4583f74180a1a334ce2591316a6a63d74aafd97 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 28 Aug 2005 16:25:13 +0000 Subject: [PATCH] * Withdraw addresses if interface is not considered relevant git-svn-id: file:///home/lennart/svn/public/avahi/trunk@471 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/iface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 && -- 2.39.5