[SNMP4J] IpAddress in VariableBinding being serialized as 8 bytes

Sachs, Larry lsachs at c-cor.com
Sat Mar 31 02:19:25 CEST 2007


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





More information about the SNMP4J mailing list