mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-28 12:40:47 +00:00
Check all servers loopiness, when any subset is changed.
This commit is contained in:
1 parent
b5ea1cc255
commit
40766e55e8
1 file changed
+5
-5
+5
-5
@@ -1297,14 +1297,14 @@ void mark_servers(int flag)
|
||||
|
||||
/* mark everything with argument flag */
|
||||
for (serv = daemon->servers; serv; serv = serv->next)
|
||||
if (serv->flags & flag)
|
||||
{
|
||||
{
|
||||
if (serv->flags & flag)
|
||||
serv->flags |= SERV_MARK;
|
||||
#ifdef HAVE_LOOP
|
||||
/* Give looped servers another chance */
|
||||
serv->flags &= ~SERV_LOOP;
|
||||
/* Give looped servers another chance */
|
||||
serv->flags &= ~SERV_LOOP;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void cleanup_servers(void)
|
||||
|
||||
Reference in new issue
Block a user