On 25/09/06, Wes Hardaker <[EMAIL PROTECTED]> wrote: > >>>>> "DS" == Dave Shield <[EMAIL PROTECTED]> writes: > > TS> Is there a subtle (or not so, for any shell addicts) difference between > TS> "oid.*" (doesn't match oid itself?) and "oid*" (matches oid > TS> itself?) > > Oh, sorry... missed the point there. I'd said oid.* == oid* and both > match oid or oid.... I think this is what most people would think and > would expect.
I've just submitted a pair of patches - the first to implement a simple wildcard subtree syntax (accepting either OID.* and OID* with identical behaviour), and a second to distinguish between these two. I think it's worth making the distinction - I'm always keen to provide the admin with as much flexibility as possible, and it's unlikely that .x.y.z and .x.y.z.N would both be valid trap OIDs. So if an admin is trying to avoid false positive matches, this distinction could be a useful one. But if people think it's more trouble that it's worth, feel free to back out the last patch. That's why I've submitted this in two stages. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
