[SNMP4J] Error message using v1
Frank Fock
fock at agentpp.com
Fri Apr 13 22:31:08 CEST 2007
Hi Nidhin,
Thanks for pointing my on this! This bug (although apparently fixed)
has been around for a long time. It will be fixed in v1.1.1a.
The following patch corrects the behavior against v1.1.1:
--- SnmpRequest.java (revision 216)
+++ SnmpRequest.java (working copy)
@@ -186,7 +186,9 @@
}
}
}
- response.setErrorStatus(errStatus);
+ else {
+ response.setErrorStatus(errStatus);
+ }
response.setErrorIndex(getErrorIndex());
}
Best regards,
Frank
nidhin wrote:
> Hi,
>
> While using SNMP4j agent, the response from the agent on trying to set a read-only variable using v1 is "Not Writable".
>
> Is this the correct error message? Should nt the error message be "No such name"?
>
> Please let me know if I have understood correctly or not.
>
> Regards
> Nidhin
>
>
> ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check outnew cars at Yahoo! Autos.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list