This is a discussion on Re: bug in unregister_sec_mod() within the SNMP Coders forums, part of the Networking and Network Related category; Aleksandr Lomanov wrote: > file snmp_secmod.c, function > > int > unregister_sec_mod(int secmod) > { > struct snmp_secmod_list *sptr, *...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Aleksandr Lomanov wrote:
> file snmp_secmod.c, function > > int > unregister_sec_mod(int secmod) > { > struct snmp_secmod_list *sptr, *lptr; > > for (sptr = registered_services, lptr = NULL; sptr; > lptr = sptr, sptr = sptr->next) { > if (sptr->securityModel == secmod) { > //------------- if secmod matches to first sptr, lptr is NULL > lptr->next = sptr->next; Please file as a bug on http://www.net-snmp.org/bugs so it won't get lost. If you can propose a patch, please submit it to http://www.net-snmp.org/patches instead. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |