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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 25 16:00:49 EST 2011


Author: thauser at redhat.com
Date: 2011-01-25 16:00:48 -0500 (Tue, 25 Jan 2011)
New Revision: 110443

Modified:
   branches/snmp4j-integration-1.11.1/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java
Log:
RFC commit


Modified: branches/snmp4j-integration-1.11.1/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java
===================================================================
--- branches/snmp4j-integration-1.11.1/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java	2011-01-25 18:34:54 UTC (rev 110442)
+++ branches/snmp4j-integration-1.11.1/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/RequestHandlerImpl.java	2011-01-25 21:00:48 UTC (rev 110443)
@@ -373,7 +373,7 @@
 						}
 						catch (VariableTypeException e) {
 							log.debug("snmpReceivedGet: GETNEXT operation could not convert the returned value for " + noid + " into an appropriate type.");
-							//makeErrorPdu(noid,PDU.badValue, counter,response);
+							makeErrorPdu(response, pdu, counter);
 							return response;
 							
 						}
@@ -1108,7 +1108,6 @@
 	 */
 	private void makeErrorPdu(PDU response, PDU pdu, int counter){
 		response.clear();
-		response.setRequestID(pdu.getRequestID());
 		response.addAll(pdu.toArray());
 		response.setErrorIndex(counter);
 		response.setErrorStatus(PDU.genErr);



More information about the jboss-cvs-commits mailing list