SOURCES: snmp_string_issue_with_rrdtool_creation.patch (NEW)

grzegorz grzegorz at pld-linux.org
Mon Mar 9 20:52:45 CET 2009


Author: grzegorz                     Date: Mon Mar  9 19:52:45 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:


---- Files affected:
SOURCES:
   snmp_string_issue_with_rrdtool_creation.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/snmp_string_issue_with_rrdtool_creation.patch
diff -u /dev/null SOURCES/snmp_string_issue_with_rrdtool_creation.patch:1.1
--- /dev/null	Mon Mar  9 20:52:45 2009
+++ SOURCES/snmp_string_issue_with_rrdtool_creation.patch	Mon Mar  9 20:52:39 2009
@@ -0,0 +1,11 @@
+--- cacti-0.8.7d/lib/snmp.php	2009-02-11 21:55:50.000000000 -0500
++++ cacti-patched/lib/snmp.php	2009-03-02 20:00:38.000000000 -0500
+@@ -366,7 +366,7 @@
+ 
+ 	/* now check for the second most obvious */
+ 	if (is_numeric($string)) {
+-		return $string;
++		return trim($string);
+ 	}
+ 
+ 	/* remove ALL quotes, and other special delimiters */
================================================================


More information about the pld-cvs-commit mailing list