in reply to Bug in SNMP_Session when polling Netscreen routers with MRTG
A quick way to convert a number to an unsigned integer is to do a bitwise logical operation on it. So you could do: (0|$response_id) == (0|$this->{request_id}) I've run into similar problems with signedness before. Old versions of the XS "stuff" didn't include complete support for unsigned arguments and return values. I think that is corrected now, so the library could probably be fixed by just changing a few cases of "IV" to "UV".
- tye (but my friends call me "Tye")
|
|---|