diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 6fae3d1f..ab110fbd 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
| @@ -259,7 +259,7 @@ main (int argc, char **argv) | |||
| 259 | 259 | ||
| 260 | /* Process this block for string matching */ | 260 | /* Process this block for string matching */ |
| 261 | else if (eval_method[i] & CRIT_STRING) { | 261 | else if (eval_method[i] & CRIT_STRING) { |
| 262 | if (strcmp (response, string_value)) | 262 | if (strcmp (show, string_value)) |
| 263 | iresult = STATE_CRITICAL; | 263 | iresult = STATE_CRITICAL; |
| 264 | else | 264 | else |
| 265 | iresult = STATE_OK; | 265 | iresult = STATE_OK; |
