[jboss-cvs] JBossAS SVN: r111692 - branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jun 29 13:07:09 EDT 2011


Author: thauser at redhat.com
Date: 2011-06-29 13:07:09 -0400 (Wed, 29 Jun 2011)
New Revision: 111692

Modified:
   branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/SnmpRequest.java
Log:
fix for the error status / indexes being incorrectly set to 0

Modified: branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/SnmpRequest.java
===================================================================
--- branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/SnmpRequest.java	2011-06-29 14:42:42 UTC (rev 111691)
+++ branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/SnmpRequest.java	2011-06-29 17:07:09 UTC (rev 111692)
@@ -90,8 +90,6 @@
 	
 	private void sendResponse(CommandResponderEvent requestEvent, PDU response) throws MessageException{
 	
-		response.setErrorIndex(0);
-		response.setErrorStatus(0);
 		response.setType(PDU.RESPONSE);
 	    StatusInformation statusInformation = new StatusInformation();
 	    StateReference ref = requestEvent.getStateReference();



More information about the jboss-cvs-commits mailing list