Public bug reported:
When trying to create a row in the snmpTargetAddrTable in a 64-bit
system the attempt fails with this error:
ddsk...@ddskufo-laptop:~/Skrivbord/SNMP RFC'er/snmpV2$ snmptable localhost
snmpTargetAddrTable
SNMP-TARGET-MIB::snmpTargetAddrTable: No entries
A corretion to data sizes above, the should be the otherway around.
var_val_len is reported as 8
sizeof(int) is 4 in a 64-bit system
And 8 != 4, which means SNMP_ERR_WRONGLENGTH will be returned.
In the case sizeof(int) should be replaced with 4 and the if statement should
look like:
if
Public bug reported:
When trying to create a row in the snmpTargetAddrTable in a 64-bit
system the attempt fails with this error:
ddsk...@ddskufo-laptop:~/Skrivbord/SNMP RFC'er/snmpV2$ snmptable localhost
snmpTargetAddrTable
SNMP-TARGET-MIB::snmpTargetAddrTable: No entries
A corretion to data sizes above, the should be the otherway around.
var_val_len is reported as 8
sizeof(int) is 4 in a 64-bit system
And 8 != 4, which means SNMP_ERR_WRONGLENGTH will be returned.
In the case sizeof(int) should be replaced with 4 and the if statement should
look like:
if