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) { |