author | Florian Forster <octo@collectd.org> | |
Sun, 11 Mar 2012 11:13:37 +0000 (12:13 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 11 Mar 2012 11:13:37 +0000 (12:13 +0100) | ||
commit | b606324377a50ef87d6dd79464ab7902d81dc36d | |
tree | 90ccd0ddd1528a7a85f8083aa7a16d93da705498 | tree | snapshot |
parent | f426ea7a267251a63de8d1da78cf9766532a0ac3 | commit | diff |
snmp plugin: Keep track of signedness of ASN values.
Prior to this, the signed variant was used when casting to gauge_t. This caused
problems with values larger than 2^31-1, since they were casted to negative
values.
Hopefully fixes GitHub issue #50.
Prior to this, the signed variant was used when casting to gauge_t. This caused
problems with values larger than 2^31-1, since they were casted to negative
values.
Hopefully fixes GitHub issue #50.
src/snmp.c | diff | blob | history |