2012-09-18 Vanessa Gil <vanessa.gil@artica.es>

* include/functions_config.php: Fixed bug in netflow
	setup.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-09-18 16:05:53 +00:00
parent b66163ade3
commit 1de54a4128
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_config.php: Fixed bug in netflow
setup.
2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added new

View File

@ -127,9 +127,6 @@ function config_update_config () {
config_update_value ('metaconsole', get_parameter ('metaconsole'));
config_update_value ('collection_max_size', get_parameter('collection_max_size'));
config_update_value ('activate_netflow', (bool) get_parameter ('activate_netflow'));
config_update_value ('netflow_path', get_parameter ('netflow_path'));
config_update_value ('netflow_interval', get_parameter ('netflow_interval'));
config_update_value ('netflow_daemon', get_parameter ('netflow_daemon'));
config_update_value ('public_url', get_parameter('public_url'));
@ -253,6 +250,11 @@ function config_update_config () {
config_update_value ('history_db_delay', (string) get_parameter ('history_db_delay'));
///////////////
break;
case 'godmode/setup/setup_netflow':
config_update_value ('netflow_path', get_parameter ('netflow_path'));
config_update_value ('netflow_interval', get_parameter ('netflow_interval'));
config_update_value ('netflow_daemon', get_parameter ('netflow_daemon'));
break;
}
enterprise_include_once('include/functions_policies.php');