summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-wb.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-01-04 17:45:59 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-01-04 17:45:59 +0000
commit6ee860c4bd48c14567735c4ee1f3ed6fd72c5dea (patch)
tree07cdb252294cffa7fc95d084833587f995afa131 /usr.sbin/tcpdump/print-wb.c
parent2c7e82c1e33e892bdc6c60cc425339ce23723207 (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/tcpdump/print-wb.c')
0 files changed, 0 insertions, 0 deletions