Code

snmp plugin: Keep track of signedness of ASN values.
authorFlorian Forster <octo@collectd.org>
Sun, 11 Mar 2012 11:13:37 +0000 (12:13 +0100)
committerFlorian Forster <octo@collectd.org>
Sun, 11 Mar 2012 11:13:37 +0000 (12:13 +0100)
commitb606324377a50ef87d6dd79464ab7902d81dc36d
tree90ccd0ddd1528a7a85f8083aa7a16d93da705498
parentf426ea7a267251a63de8d1da78cf9766532a0ac3
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.
src/snmp.c