Branch: Tag:

2001-08-14

2001-08-14 01:47:17 by Honza Petrous <hop@unibase.cz>

Playing a bit with snmpagent->cold_trap notification. Not finished, yet.

Rev: server/base_server/configuration.pike:1.462
Rev: server/base_server/global_variables.pike:1.77
Rev: server/base_server/roxen.pike:1.696
Rev: server/base_server/snmpagent.pike:1.7

3:   //   // A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.461 2001/08/13 18:19:35 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.462 2001/08/14 01:47:16 hop Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
2315:    do_not_log_patterns = query("NoLog");    if(!sizeof(do_not_log_patterns))    do_not_log_patterns = 0; +  + #ifdef SNMP_AGENT +  if(query("snmp_process") && objectp(roxen->snmpagent)) +  roxen->snmpagent->add_virtserv(get_config_id()); + #endif +    }      void save_me()