On mån, 2008-06-02 at 21:09 +0800, Adrian Chadd wrote:
> I'm trying to single-step through the SNMP MIB tree code to see why
> its not picking up on my OIDs.

Welcome to our twisted SNMP agent.

You also need to update the count of subentries in the containing mib
node...

                                    snmpAddNode(snmpCreateOid(LEN_SQ_NET, 
SQ_NET),
-                                       LEN_SQ_NET, NULL, NULL, 3,
+                                       LEN_SQ_NET, NULL, NULL, 4,
                                        snmpAddNode(snmpCreateOid(LEN_SQ_NET + 
1, SQ_NET, NET_IP_CACHE),


Additionally don't forget to remove the parantesis in the USE_DNSSERVERS case...

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to