[AGENT++] find_succ
Karl Abicht
karl at abicht.info
Thu Nov 18 11:50:39 CET 2004
Hi,
your code:
Oidx MibTable::find_succ(const Oidx& o, Request*)
{
ThreadSynchronize s(*this); {
MibLeaf* l = find_next(o);
while ((l) &&
((l->get_access() == NOACCESS) ||
(!l->valid()))) {
l = find_next(l->get_oid());
}
if (l) {
return l->get_oid();
}
return Oidx();
}
}
It was a good idea to change to this behavoir.
But, this fixes the problem just inside of MibTables.
Is it possible to do this similar for normal MibLeafs in the Mib ?
Otherwise a 'walk' stops at the first invalid or not accessible leaf.
Regards,
Karl Abicht
--
Dipl.-Ing. Karl Abicht
Eichenweg 11
25582 Hohenaspe
mailto: karl at abicht.net
phone: +49 4893 373115
mobile: +49 172 4566432
site: http://www.abicht.net
More information about the AGENTPP
mailing list