Wes Hardaker wrote:
On Sat, 02 Oct 2004 00:38:31 +0200, Thomas Anders <[EMAIL PROTECTED]> said:
Thomas> However, version 5.1.2 effectively duplicates the traphandler
Thomas> registrations on every SIGHUP!
Yes, we need to write a proper free function for all the
registrations...
Yep, that's it. apps/snmptrapd_handlers.c in both CVS MAIN and V5-1-patches
does *not* define an appropriate free function:
register_config_handler("snmptrapd", "traphandle",
snmptrapd_parse_traphandle, NULL,
"oid|\"default\" program [args ...] ");
BTW, "format" and "forward" suffer the same problem, don't they?
Also, do_external() is not needed anymore and could be removed (in 5.[12]).
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders