View | Details | Raw Unified | Return to bug 207309
Collapse All | Expand All

(-)b/net-mgmt/net-snmp/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	snmp
4
PORTNAME=	snmp
5
PORTVERSION=	5.7.3
5
PORTVERSION=	5.7.3
6
PORTREVISION=	11
6
PORTREVISION=	12
7
CATEGORIES=	net-mgmt ipv6
7
CATEGORIES=	net-mgmt ipv6
8
MASTER_SITES=	SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
8
MASTER_SITES=	SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
9
PKGNAMEPREFIX=	net-
9
PKGNAMEPREFIX=	net-
(-)b/net-mgmt/net-snmp/files/patch-snmplib__int64.c (+12 lines)
Added Link Here
1
--- snmplib/int64.c
2
+++ snmplib/int64.c
3
@@ -367,7 +367,8 @@ netsnmp_c64_check32_and_update(struct counter64 *prev_val, struct counter64 *new
4
          * check wrap incremented high, so reset it. (Because having
5
          * high set for a 32 bit counter will confuse us in the next update).
6
          */
7
-        netsnmp_assert(1 == new_val->high);
8
+        if (1 != new_val->high)
9
+            DEBUGMSGTL(("c64", "error expanding to 64 bits: new_val->high != 1"));
10
         new_val->high = 0;
11
     }
12
     else if (64 == rc) {

Return to bug 207309