check_dig: expected answer is now incasesensitive (#1386)

Oliver Skibbe notifications at github.com
Thu Oct 15 11:03:37 CEST 2015


  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20151015/9513661b/attachment.html>


More information about the Devel mailing list