[SNMP4J] [PATCH] Workaround for Net-SNMP < 5.4.1 64-bit agent bug

Frank Fock fock at agentpp.com
Sat Nov 3 12:56:12 CET 2007


Hi Jeff,

you can use the following public method to
access the private field:
http://www.snmp4j.org/doc/org/snmp4j/smi/IpAddress.html#setInetAddress(java.net.InetAddress)

So, I think it is not necessary to make the
inetAddress field protected?

Best regards,
Frank

Jeff Gehlbach wrote:
> 
> Just one difficulty so far -- the field inetAddress in 
> org.snmp4j.smi.IpAddress is scoped private, so I'm using reflection at 
> the moment.  Is there any chance that you could scope this field as 
> protected in a future release?
> 
> Thanks,
> -jeff

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




More information about the SNMP4J mailing list