On Tue, 2013-03-19 at 10:20 -0700, Pal Saint wrote: > The problem I mentioned was noticed even with UCD-DLMOD registration > and unregistration code (agent/mibgroup/ucd-snmp/dlmod.c). > > > Here is the example code I compiled and was able to reproduce on my > Linux 2.6.32 (64bit). > I am using net-snmp-5.7.2. > Thanks. This made me understand the problem. In effect it seems old_api can't be unregistered, and since it can't be unregistered it cant be unloaded from dlmod since unloading it would result in the master crashing when it tries to access the code that should be there but isn't.
I'd say the easiest way forward is to convert to a handler-based table. It should be possible to write an unregister-old function that takes the same array as REGISTER_MIB, iterates over it and builds the same oid's and then unregisters them but it seems nobody have done that yet. /MF ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users