check_dig: expected answer is now incasesensitive (#1386)
Oliver Skibbe <[email protected]> Thu, 15 Oct 2015 02:03:37 -0700
| Newsgroups | gmane.network.nagios.devel |
|---|---|
| Message-ID | <monitoring-plugins/monitoring-plugins/pull/[email protected]> |
check_dig was casesensitive if an expected answer is given.
Switching strstr with strcasestr fixes this issue
While testing i noticed a bug where expected is not an exact match
New issue for that is opened #1385
This fix closes #1233
You can view, comment on, or merge this pull request online at:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1386
-- Commit Summary --
* check_dig: expected answer is now incasesensitive
-- File Changes --
M plugins/check_dig.c (2)
-- Patch Links --
https://github.com/monitoring-plugins/monitoring-plugins/pull/1386.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1386.diff
--
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1386