summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2016-02-22 22:11:01 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2016-02-22 22:11:01 (GMT)
commite16dc71d5c4bc78b5c7f786eb3f91999a0f9b284 (patch)
tree7589cf0c0e23f7c455290cf94cd49e29f2d8b422
parent0960239981cf490dd3e831923d3c8663bf820778 (diff)
parent24eea9fa34d009971378fda6754ce0a9ac01f21d (diff)
downloadmonitoring-plugins-e16dc71.tar.gz
Merge branch 'pr/1386'
* pr/1386: check_dig: expected answer is now incasesensitive
-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 db4b20e..473d4b9 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -125,7 +125,7 @@ main (int argc, char **argv)
125 if (verbose) 125 if (verbose)
126 printf ("%s\n", chld_out.line[i]); 126 printf ("%s\n", chld_out.line[i]);
127 127
128 if (strstr (chld_out.line[i], (expected_address == NULL ? query_address : expected_address)) != NULL) { 128 if (strcasestr (chld_out.line[i], (expected_address == NULL ? query_address : expected_address)) != NULL) {
129 msg = chld_out.line[i]; 129 msg = chld_out.line[i];
130 result = STATE_OK; 130 result = STATE_OK;
131 131