]> git.pld-linux.org Git - packages/cacti.git/commitdiff
- patch for cacti 0.8.6j auto/th/cacti-0_8_6j-4
authorGrzegorz Sterniczuk <grzegorz@sterniczuk.eu>
Thu, 24 May 2007 07:52:23 +0000 (07:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    snmpwalk_fix.patch -> 1.1

snmpwalk_fix.patch [new file with mode: 0644]

diff --git a/snmpwalk_fix.patch b/snmpwalk_fix.patch
new file mode 100644 (file)
index 0000000..9661ac6
--- /dev/null
@@ -0,0 +1,15 @@
+diff -ruBbd cacti-0.8.6j/lib/snmp.php cacti-0.8.6j-patched/lib/snmp.php
+--- cacti-0.8.6j/lib/snmp.php  2007-01-17 19:23:10.000000000 -0500
++++ cacti-0.8.6j-patched/lib/snmp.php  2007-05-15 21:26:14.000000000 -0400
+@@ -221,9 +219,9 @@
+                       $temp_array = exec_into_array(read_config_option("path_snmpwalk") . " -v$version -t $timeout -r $retries $hostname:$port $snmp_auth $oid");
+               }else {
+                       if (file_exists($path_snmpbulkwalk) && ($version > 1)) {
+-                              $temp_array = exec_into_array($path_snmpbulkwalk . " -O n $snmp_auth -v $version -t $timeout -r $retries -Cr50 $hostname:$port $oid");
++                              $temp_array = exec_into_array($path_snmpbulkwalk . " -O Qn $snmp_auth -v $version -t $timeout -r $retries -Cr50 $hostname:$port $oid");
+                       }else{
+-                              $temp_array = exec_into_array(read_config_option("path_snmpwalk") . " -O n $snmp_auth -v $version -t $timeout -r $retries $hostname:$port $oid");
++                              $temp_array = exec_into_array(read_config_option("path_snmpwalk") . " -O Qn $snmp_auth -v $version -t $timeout -r $retries $hostname:$port $oid");
+                       }
+               }
This page took 0.07757 seconds and 4 git commands to generate.