Allow trailing '*' wildcard in interface names.

This commit is contained in:
Simon Kelley committed 2013-03-15 20:30:51 +00:00
1 parent de92b479d9
commit 49333cbdbe
11 files changed
+42 -24

No files matched your search

+1 -1
View File
@@ -209,7 +209,7 @@ void tftp_request(struct listener *listen, time_t now)
#ifdef HAVE_DHCP
/* allowed interfaces are the same as for DHCP */
for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next)
if (tmp->name && (strcmp(tmp->name, name) == 0))
if (tmp->name && wildcard_match(tmp->name, name))
return;
#endif