diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-01-04 17:45:59 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-01-04 17:45:59 +0000 |
commit | 6ee860c4bd48c14567735c4ee1f3ed6fd72c5dea (patch) | |
tree | 07cdb252294cffa7fc95d084833587f995afa131 /usr.sbin/dhcpd | |
parent | 2c7e82c1e33e892bdc6c60cc425339ce23723207 (diff) |
When matching a recipient domain to a rule, do not use strcasecmp, but use
new hostname_match() function which recognizes * as a wildcard. We can now
do: accept for domain "*.example.org" to match all subdomains.
idea from Nicholas Marriott <nicholas.marriott@gmail.com>, hostname_match()
from me in place of his fnmatch() calls.
ok jacekm@
Diffstat (limited to 'usr.sbin/dhcpd')
0 files changed, 0 insertions, 0 deletions