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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to