Fix missing braces in 8eac67c0a15b673c8d27002c248651b308093e4

This commit is contained in:
Steven Siloti authored and Simon Kelley committed 2019-01-17 22:52:13 +00:00
1 parent 18eac67c0a
commit d2d4990743
1 file changed
+2
+2
View File
@@ -371,12 +371,14 @@ void dhcp_update_configs(struct dhcp_config *configs)
int prot = AF_INET;
for (config = configs; config; config = config->next)
{
if (config->flags & CONFIG_ADDR_HOSTS)
config->flags &= ~(CONFIG_ADDR | CONFIG_ADDR_HOSTS);
#ifdef HAVE_DHCP6
if (config->flags & CONFIG_ADDR6_HOSTS)
config->flags &= ~(CONFIG_ADDR6 | CONFIG_ADDR6_HOSTS);
#endif
}
#ifdef HAVE_DHCP6
again: