On 12/02/07, Johnny Ljunggren <[EMAIL PROTECTED]> wrote: > Hmmm, is there a way to block only these types of OID's? It would at least > help through the first deadline I've got.
Try the following. Look in 'agent/mibgroup/agentx/protocol.c' in the routine agentx_realloc_build_oid(). The first block of code is special-case handling for the Null OID. Comment this block out altogether and recompile. That should encode .0.0 just as any other OID, probably as 02 00 00 00 00 00 00 00 00 00 00 00 It may well be that the AgentX master would be happier with that. (I've just checked the AgentX++ code, and can't immediately spot any special handling for the Null OID case). Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users