mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-13 18:50:01 -04:00
Merge branch 'pr/1386'
* pr/1386: check_dig: expected answer is now incasesensitive
This commit is contained in:
commit
e16dc71d5c
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ main (int argc, char **argv)
|
|||
if (verbose)
|
||||
printf ("%s\n", chld_out.line[i]);
|
||||
|
||||
if (strstr (chld_out.line[i], (expected_address == NULL ? query_address : expected_address)) != NULL) {
|
||||
if (strcasestr (chld_out.line[i], (expected_address == NULL ? query_address : expected_address)) != NULL) {
|
||||
msg = chld_out.line[i];
|
||||
result = STATE_OK;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue