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
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to