- Add memory calculation fix
- Bump PORTREVISION PR: 251103 Submitted by: ncrogers@gmail.com
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= snmp
|
||||
PORTVERSION= 5.9
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- agent/mibgroup/hardware/memory/memory_freebsd.c.orig 2015-02-20 14:44:47 UTC
|
||||
+++ agent/mibgroup/hardware/memory/memory_freebsd.c
|
||||
@@ -163,7 +163,7 @@ int netsnmp_mem_arch_load( netsnmp_cache
|
||||
if (!mem->descr)
|
||||
mem->descr = strdup("Cached memory");
|
||||
mem->units = pagesize;
|
||||
- mem->size = cache_count;
|
||||
+ mem->size = cache_count + inact_count;
|
||||
mem->free = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user