[SNMP4J] Bug Report of MPv3 class

Kanda Norimichi nkanda at fsi.co.jp
Mon Apr 9 08:58:00 CEST 2007


Dear Mr. Fock:

I am Kanda and I work at Fujisoft.

I report to you I found like a bug in MPv3 class.

MPv3.java 267th line
----
  public OctetString removeEngineID(Address address) {
    OctetString engineID = (OctetString) engineIDs.remove(address);
    if ((engineID != null) && (snmpEngineListeners != null)) {
      fireEngineChanged(new SnmpEngineEvent(this,
>>                                          SnmpEngineEvent.ADDED_ENGINE_ID,
                                            engineID, address));
    }
    return engineID;
  }
----
I think it should be written "SnmpEngineEvent.REMOVED_ENGINE_ID,"
in this line.

By the way, is there any information about "securityName argument of
 SnmpTargetMIB.addTargetParams()" I sent on March 28.
I really appreciate even speculative or fragmentary information.

Sincerely.

Norimichi Kanda




More information about the SNMP4J mailing list