Re: [lisp-snmp] Broken snmpwalk termination check
Brought to you by:
binghe
|
From: John F. <jf...@ms...> - 2009-01-21 08:54:20
|
Hi Chun Tian, "Chun Tian (binghe)" <bin...@gm...> writes: > Good, it seems that different agents returns different value on non- > exist OIDs. > > I think my following trivial patch could handle all cases correctly, I > just try to detect the duplicated OID, It won't need your OID-< series > functions (but they will be merged for other use), and my END-OF- > MIBVIEW test: So the end-of-mibview test is not needed? That looks good. I think it makes sense. I guess we will be giving it a bit of testing in the next few days. In the current version of snmp-nonblocking we have two different versions of walk (one that accumulates the results and one that calls a callback as each result comes in). Would it be possible to put the termination test into a separate function so that I can reuse it in both of these walk functions? Thanks for your help! |