On Thu, 23 Dec 2004 11:20:58 -0600 Gary wrote: GC> mib2c was used tocreate a template from the MIB.Everything was fine until I GC> wanted to delete an entry from the MIB.
I assume you used the array-user mib2c conf file? GC> I was seeing an error to delete a row from the container. How were you deleting the row, and what was the error? GC> one is called CONTAINER_REMOVE and one is called CONTAINER_INSERT GC> .Within the insert function inserts the row of the table into a linked list GC> and then gets the next ptr of the table. This is to allow a container to have multiple sort orders. For example, being sorted by the MIB index (maybe an integer) and a string (like a name). There is still only a single row, shared by two containers. GC> When I delete a row there are of course multiple containers within the list GC> when I only added one entry hence the failed error message. I don't follow your logic here. If there are multiple containers, insert would have added the row to all of them, and thus it needs to be removed from all of them. If you are not using the secondary container, I suggest you undefine the macro controlling its use (eg myTable_IDX2, defined in the header file). -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- 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
