summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c0d5ac8)
raw | patch | inline | side by side (parent: c0d5ac8)
author | Matthew Kent <mattkent@users.sourceforge.net> | |
Sun, 5 Dec 2004 22:07:30 +0000 (22:07 +0000) | ||
committer | Matthew Kent <mattkent@users.sourceforge.net> | |
Sun, 5 Dec 2004 22:07:30 +0000 (22:07 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1006 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_snmp.c | patch | blob | history |
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 6fae3d1f81b03db0e9e609ed0b70c49b3b4dff05..ab110fbd0fb86c0593f92ac191127754c973a46c 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
/* Process this block for string matching */
else if (eval_method[i] & CRIT_STRING) {
- if (strcmp (response, string_value))
+ if (strcmp (show, string_value))
iresult = STATE_CRITICAL;
else
iresult = STATE_OK;