Hello, I have recently spent some time looking at a problem I was seeing and am asking anyone else if they have seen this problem also.
Using RedHat 9.0 and net-snmp 5.1.2. mib2c was used tocreate a template from the MIB.Everything was fine until I wanted to delete an entry from the MIB. I was seeing an error to delete a row from the container. I examined the container.h and displayed what is inserted into the MIB and what is removed. Within the container.h there are two inline functions...ugh! one is called CONTAINER_REMOVE and one is called CONTAINER_INSERT .Within the insert function inserts the row of the table into a linked list and then gets the next ptr of the table. This is what is bothering me. Its inserting the value of the next container and row into the list. I dont think this should be doing this. When I delete a row there are of course multiple containers within the list when I only added one entry hence the failed error message. The MIB row does get removed, but why is the next value of the container also going into the list? Any ideas? Much appreciated, Garyc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
