]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- bigger cache timeout
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 26 Jan 2009 20:22:38 +0000 (20:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp-TCP_STATS_CACHE_TIMEOUT.patch -> 1.1

net-snmp-TCP_STATS_CACHE_TIMEOUT.patch [new file with mode: 0644]

diff --git a/net-snmp-TCP_STATS_CACHE_TIMEOUT.patch b/net-snmp-TCP_STATS_CACHE_TIMEOUT.patch
new file mode 100644 (file)
index 0000000..15d9636
--- /dev/null
@@ -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
This page took 0.06145 seconds and 4 git commands to generate.