You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
freshtomato-arm/release/src-rt-6.x.4708/router/patches/snmp/103-change-iftable-cache-ti...

12 lines
436 B
Diff

--- snmp/agent/mibgroup/if-mib/ifTable/ifTable_data_access.h
+++ snmp/agent/mibgroup/if-mib/ifTable/ifTable_data_access.h
@@ -46,7 +46,7 @@ extern "C" {
* A 10 Mbps stream can wrap if*Octets in ~57 minutes.
* At 100 Mbps it is ~5 minutes, and at 1 Gbps, ~34 seconds.
*/
-#define IFTABLE_CACHE_TIMEOUT 3
+#define IFTABLE_CACHE_TIMEOUT 1
#define IFTABLE_REMOVE_MISSING_AFTER (5 * 60) /* seconds */