aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2016-02-22 23:11:01 +0100
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2016-02-22 23:11:01 +0100
commite16dc71d5c4bc78b5c7f786eb3f91999a0f9b284 (patch)
tree7589cf0c0e23f7c455290cf94cd49e29f2d8b422 /plugins
parent0960239981cf490dd3e831923d3c8663bf820778 (diff)
parent24eea9fa34d009971378fda6754ce0a9ac01f21d (diff)
downloadmonitoring-plugins-e16dc71d5c4bc78b5c7f786eb3f91999a0f9b284.tar.gz
Merge branch 'pr/1386'
* pr/1386: check_dig: expected answer is now incasesensitive
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_dig.c2
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;