summaryrefslogtreecommitdiffstats
path: root/web/attachments/420257-check_snmp_numeric_fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/420257-check_snmp_numeric_fix.diff')
-rw-r--r--web/attachments/420257-check_snmp_numeric_fix.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/web/attachments/420257-check_snmp_numeric_fix.diff b/web/attachments/420257-check_snmp_numeric_fix.diff
new file mode 100644
index 0000000..8c645e1
--- /dev/null
+++ b/web/attachments/420257-check_snmp_numeric_fix.diff
@@ -0,0 +1,20 @@
1*** check_snmp.c Thu Aug 4 14:33:54 2011
2--- check_snmp_numeric_fix.c Thu Aug 4 14:33:13 2011
3***************
4*** 331,337 ****
5 /* Clean up type array - Sol10 does not necessarily zero it out */
6 bzero(type, sizeof(type));
7
8! is_counter=0;
9 /* We strip out the datatype indicator for PHBs */
10 if (strstr (response, "Gauge: ")) {
11 show = strstr (response, "Gauge: ") + 7;
12--- 331,338 ----
13 /* Clean up type array - Sol10 does not necessarily zero it out */
14 bzero(type, sizeof(type));
15
16! is_counter = 0;
17! is_numeric = 0;
18 /* We strip out the datatype indicator for PHBs */
19 if (strstr (response, "Gauge: ")) {
20 show = strstr (response, "Gauge: ") + 7;