]> git.meshlink.io Git - catta/commitdiff
* Withdraw addresses if interface is not considered relevant
authorLennart Poettering <lennart@poettering.net>
Sun, 28 Aug 2005 16:25:13 +0000 (16:25 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 28 Aug 2005 16:25:13 +0000 (16:25 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@471 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/iface.c

index 8540720a7c50f263627b2d5d89f6294e3070172b..d5fe5b134644be589ef1d7e757f58a86d8eb979e 100644 (file)
@@ -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 &&