summaryrefslogtreecommitdiffstats
path: root/web/attachments/41359-check_snmp.c.diff
blob: 98cb0177a053e116f5e1bd58c1c620c5b391bf66 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- plugins/check_snmp.c.orig   2002-11-16 06:06:02.000000000 +0100
+++ plugins/check_snmp.c        2003-01-31 11:47:23.000000000 +0100
@@ -299,6 +299,8 @@
                        show = strstr (response, "Gauge32: ") + 9;
                else if (strstr (response, "INTEGER: "))
                        show = strstr (response, "INTEGER: ") + 9;
+               else if (strstr (response, "STRING: "))
+                       show = strstr (response, "STRING: ") + 8;
                else
                        show = response;
                p2 = show;