SOURCES: net-snmp-TCP_STATS_CACHE_TIMEOUT.patch (NEW) - bigger cache timeout

glen glen at pld-linux.org
Mon Jan 26 21:22:44 CET 2009


Author: glen                         Date: Mon Jan 26 20:22:44 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- bigger cache timeout

---- Files affected:
SOURCES:
   net-snmp-TCP_STATS_CACHE_TIMEOUT.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/net-snmp-TCP_STATS_CACHE_TIMEOUT.patch
diff -u /dev/null SOURCES/net-snmp-TCP_STATS_CACHE_TIMEOUT.patch:1.1
--- /dev/null	Mon Jan 26 21:22:45 2009
+++ SOURCES/net-snmp-TCP_STATS_CACHE_TIMEOUT.patch	Mon Jan 26 21:22:38 2009
@@ -0,0 +1,15 @@
+--- net-snmp-5.4.2.1/agent/mibgroup/mibII/tcpTable.c	2009-01-23 17:21:22.615182719 +0200
++++ net-snmp-5.4.2.1/agent/mibgroup/mibII/tcpTable.c	2009-01-23 18:34:55.401229364 +0200
+@@ -123,10 +123,10 @@
+ 	 *
+ 	 */
+ #ifndef MIB_STATS_CACHE_TIMEOUT
+-#define MIB_STATS_CACHE_TIMEOUT	5
++#define MIB_STATS_CACHE_TIMEOUT	1800
+ #endif
+ #ifndef TCP_STATS_CACHE_TIMEOUT
+-#define TCP_STATS_CACHE_TIMEOUT	MIB_STATS_CACHE_TIMEOUT
++#define TCP_STATS_CACHE_TIMEOUT	1800
+ #endif
+ 
+ #if defined(TCP_PORTS_IN_HOST_ORDER) && TCP_PORTS_IN_HOST_ORDER
================================================================


More information about the pld-cvs-commit mailing list