summaryrefslogtreecommitdiffstats
path: root/web/attachments/41359-check_snmp.c.diff
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/41359-check_snmp.c.diff')
-rw-r--r--web/attachments/41359-check_snmp.c.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/attachments/41359-check_snmp.c.diff b/web/attachments/41359-check_snmp.c.diff
new file mode 100644
index 0000000..98cb017
--- /dev/null
+++ b/web/attachments/41359-check_snmp.c.diff
@@ -0,0 +1,11 @@
1--- plugins/check_snmp.c.orig 2002-11-16 06:06:02.000000000 +0100
2+++ plugins/check_snmp.c 2003-01-31 11:47:23.000000000 +0100
3@@ -299,6 +299,8 @@
4 show = strstr (response, "Gauge32: ") + 9;
5 else if (strstr (response, "INTEGER: "))
6 show = strstr (response, "INTEGER: ") + 9;
7+ else if (strstr (response, "STRING: "))
8+ show = strstr (response, "STRING: ") + 8;
9 else
10 show = response;
11 p2 = show; \ No newline at end of file