diff options
-rw-r--r-- | plugins/check_dig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c index db4b20eb..473d4b97 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c @@ -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; |