Re: [lisp-snmp] Broken snmpwalk termination check
Brought to you by:
binghe
|
From: John F. <jf...@ms...> - 2009-01-21 09:32:56
|
"Chun Tian (binghe)" <bin...@gm...> writes: [...] >> 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? > > OK. I commited a new patch (snmp 5.22) [1], I defined a new function > WALK-TERMINATE-P: > > (defun walk-terminate-p (new-vars current-vars base-vars) > (or (some #'oid->= new-vars base-vars) > (some #'ber-equal new-vars current-vars))) Looks good! [...] > And, your OID compare functions, I only commit it into ASN.1 package > trunk [2], and rename them as OID-REGULAR-*: How about oid-lexical-*? [...] |