Hi All,
I am using ASN_COUNTER64 as type in the function 'snmp_set_var_typed_value' the value is of type "unsigned long long int" but the manager is i.e snmpget/snmpgetnext is displaying large value.
sample implemntation is
unsigned long long int lval = 0;
lval = 21;
snmp_set_var_typed_value(request->requestvb, ASN_COUNTER64,
(u_char *)&lval,
sizeof(lval));
The output is:
txrxframes127.4900010.1 = Counter64: 133143986176
But the expected out put is 21.
Rgards,
Sasikumar.
Title: COUNTER64 Error
- COUNTER64 Error sasikumar.bodathula
- Re: COUNTER64 Error Dave Shield
- RE: COUNTER64 Error sasikumar.bodathula
- RE: COUNTER64 Error Dave Shield
- RE: COUNTER64 Error sasikumar.bodathula
- RE: COUNTER64 Error Dave Shield
- Re: COUNTER64 Error Sean Dilda
- RE: COUNTER64 Error sasikumar.bodathula
- RE: COUNTER64 Error Dave Shield