Branch: Tag:

2001-09-11

2001-09-11 14:30:47 by Honza Petrous <hop@unibase.cz>

Updated support for SNMP traps:
Coldstart trap generation modified.
Added enterprise specific trap code.
Note: this needs recent Pike !!!

Rev: server/base_server/configuration.pike:1.487
Rev: server/base_server/global_variables.pike:1.84
Rev: server/base_server/roxen.pike:1.737
Rev: server/base_server/snmpagent.pike:1.17

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.486 2001/09/10 16:13:31 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.487 2001/09/11 14:30:46 hop Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
3197: Inside #if defined(SNMP_AGENT)
  #ifdef SNMP_AGENT    // Cold start trap after real virt.serv. loading    if(objectp(roxen->snmpagent)) -  roxen->snmpagent->coldstart_trap(({ get_config_id() })); +  roxen->snmpagent->vs_start_trap(get_config_id());   #endif      }