7162956 LSI SNMP subagent get/getNext/set requests are failing on SPARC s11-sru
authorsonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
Sun, 22 Jul 2012 22:39:04 -0700
branchs11-sru
changeset 2312 7b2689ab6bcb
parent 2311 570bd82a7c0e
child 2313 cee15dd34514
7162956 LSI SNMP subagent get/getNext/set requests are failing on SPARC
components/net-snmp/patches/025.7162956.util_funcs.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/net-snmp/patches/025.7162956.util_funcs.patch	Sun Jul 22 22:39:04 2012 -0700
@@ -0,0 +1,11 @@
+--- a/agent/mibgroup/util_funcs.c	2007-01-11 23:13:56.000000000 +0100
++++ b/agent/mibgroup/util_funcs.c	2012-06-01 13:20:07.243670066 +0200
+@@ -254,7 +254,7 @@
+ #if HAVE_EXECV
+     char            cachefile[STRMAX];
+     char            cache[NETSNMP_MAXCACHESIZE];
+-    ssize_t         cachebytes;
++    int             cachebytes;
+     int             cfd;
+ #ifdef NETSNMP_EXCACHETIME
+     long            curtime;