]> git.ipfire.org Git - people/ms/dnsmasq.git/commitdiff
OPT_LOCAL_SERVICE needs up-to-date interface list too.
authorSimon Kelley <simon@thekelleys.org.uk>
Thu, 6 Mar 2014 13:27:57 +0000 (13:27 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Thu, 6 Mar 2014 13:27:57 +0000 (13:27 +0000)
src/network.c

index 3cc5a4df8b49c4e6b7ba3293a778d42ae2070566..3db7c43b35c94e0858920add9b32aca76b77e9ca 100644 (file)
@@ -1570,7 +1570,8 @@ void newaddress(time_t now)
 {
   (void)now;
   
-  if (option_bool(OPT_CLEVERBIND) || daemon->doing_dhcp6 || daemon->relay6 || daemon->doing_ra)
+  if (option_bool(OPT_CLEVERBIND) || option_bool(OPT_LOCAL_SERVICE) ||
+      daemon->doing_dhcp6 || daemon->relay6 || daemon->doing_ra)
     enumerate_interfaces(0);
   
   if (option_bool(OPT_CLEVERBIND))