[SNMP4J] IpAddress in VariableBinding being serialized as 8 bytes

Frank Fock fock at agentpp.com
Sat Mar 31 10:49:30 CEST 2007


Hi Larry,

I have seen this with NET-SNMP on a 64bit machine
that an IpAddress has been encoded with 8 bytes
instead of 4 (payload).

Which tool is sending the trap?

Best regards,
Frank

Sachs, Larry wrote:
> Hi,
> 
>  
> 
> Has anyone seen this before?  Create a VariableBinding with an
> IpAddress.  When serialized, the ip address will be 8 bytes.  This can
> be seen using Ethereal.  Using the snmp4j tool as a listener displays
> the following when receiving the trap:
> 
>  
> 
> SEVERE: java.io.IOException: IpAddress encoding error, wrong length: 8
> 
>  
> 
> Thanks,
> 
> ls
> 
> 
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list