Hi Christof,

Thank you for pointing me on this.
I have fixed it for the next release.

Best regards,
Frank

Christof Meerwald wrote:
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


--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to