Fix paren blunder in aaba66efbd

Thanks to Dominik Derigs for spotting this.
This commit is contained in:
Simon Kelley
2023-04-17 16:23:06 +01:00
parent aaba66efbd
commit bd188e306a

View File

@@ -228,7 +228,7 @@ void tftp_request(struct listener *listen, time_t now)
#ifdef HAVE_DHCP #ifdef HAVE_DHCP
/* allowed interfaces are the same as for DHCP */ /* allowed interfaces are the same as for DHCP */
for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next) for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next)
if (tmp->name && (tmp->flags & (INAME_4 | INAME_6) == (INAME_4 | INAME_6)) && if (tmp->name && (tmp->flags & INAME_4) && (tmp->flags & INAME_6) &&
wildcard_match(tmp->name, name)) wildcard_match(tmp->name, name))
return; return;
#endif #endif