[AGENT++] RE: agentx++win32master does not return all OIDs during walk

Samuel Lokshin slokshin at avtec.com
Thu Aug 11 02:57:33 CEST 2005



>  -----Original Message-----
> From: 	Samuel Lokshin  
> Sent:	Wednesday, August 10, 2005 7:58 PM
> To:	'agentpp at agentpp.org'
> Subject:	agentx++win32master does not return all OIDs during walk
> 
> I think I found the solution.
	In the mib.cpp file 
	in the function int Mib::next_access_control(Request* req, const MibEntryPtr entry, Oidx& oid)

	I changed 

		case AGENTPP_TABLE: 
		case AGENTPP_COMPLEX:
		case AGENTPP_PROXY: {
			do {
			  Oidx tmpoid(entry->find_succ(oid, req)); 
			  if (tmpoid.len() <= 0) {
	              oid = (oid < *entry->key()) ? *entry->key() : *entry->max_key();//this line was changed!!
				return VACM_notInView;
			  }

	Please tell me if that it is the correct change.

> Thank you.
> Sam
> 
> 



More information about the AGENTPP mailing list