[SNMP4J] Re: New Releases: SNMP4J 1.9.1c, SNMP4J-Agent 1.2 beta, AgenPro 2.7, MIB Explorer 2.2.1

Christof Meerwald cmeerwald at emnico.com
Mon Apr 7 16:25:51 CEST 2008


Frank Fock wrote:
> CHANGES SNMP4J v1.9.1c SINCE v1.8.2:

I noticed that you have introduced a "isVariableV1" method in PDUv1, but 
you are only using it in encodeBER. Would it be possible to use that in 
decodeBER (PDUv1.java, line 188) as well - i.e. replace:

       if (vb.getSyntax() == SMIConstants.SYNTAX_COUNTER64) {

with

       if (!isVariableV1(vb.getVariable())) {


Christof

-- 
Emnico Technologies Ltd - http://www.emnico.com
Dauntsey House, Stonehill Green, Westlea, Swindon SN5 7HB



More information about the SNMP4J mailing list