commit | 49333cbdbef3bf86198b31a42bffad002de305d5 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Fri Mar 15 20:30:51 2013 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Fri Mar 15 20:30:51 2013 +0000 |
tree | a78fe2128f799d103276e4182f689c1327dfaabf | |
parent | de92b479d949188519625a6aa893363f6c6b88d1 [diff] [blame] |
Allow trailing '*' wildcard in interface names.
diff --git a/src/tftp.c b/src/tftp.c index a3d111e..960b1ee 100644 --- a/src/tftp.c +++ b/src/tftp.c
@@ -209,7 +209,7 @@ #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