mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-29 21:18:38 +00:00
Fix missing braces in 8eac67c0a15b673c8d27002c248651b308093e4
This commit is contained in:
1 parent
18eac67c0a
commit
d2d4990743
1 file changed
+2
@@ -371,12 +371,14 @@ void dhcp_update_configs(struct dhcp_config *configs)
|
|||||||
int prot = AF_INET;
|
int prot = AF_INET;
|
||||||
|
|
||||||
for (config = configs; config; config = config->next)
|
for (config = configs; config; config = config->next)
|
||||||
|
{
|
||||||
if (config->flags & CONFIG_ADDR_HOSTS)
|
if (config->flags & CONFIG_ADDR_HOSTS)
|
||||||
config->flags &= ~(CONFIG_ADDR | CONFIG_ADDR_HOSTS);
|
config->flags &= ~(CONFIG_ADDR | CONFIG_ADDR_HOSTS);
|
||||||
#ifdef HAVE_DHCP6
|
#ifdef HAVE_DHCP6
|
||||||
if (config->flags & CONFIG_ADDR6_HOSTS)
|
if (config->flags & CONFIG_ADDR6_HOSTS)
|
||||||
config->flags &= ~(CONFIG_ADDR6 | CONFIG_ADDR6_HOSTS);
|
config->flags &= ~(CONFIG_ADDR6 | CONFIG_ADDR6_HOSTS);
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef HAVE_DHCP6
|
#ifdef HAVE_DHCP6
|
||||||
again:
|
again:
|
||||||
|
|||||||
Reference in new issue
Block a user