From fe7fcda1a55ad69c67ea71d5e60d8faccf87710f Mon Sep 17 00:00:00 2001 From: ramonn Date: Mon, 4 Feb 2013 16:57:39 +0000 Subject: [PATCH] 2013-02-04 Ramon Novoa * include/functions_config.php: Added the config variable netflow_disable_custom_lvfilters. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_config.php | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 02a915264f..9a97b968c4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-02-04 Ramon Novoa + + * include/functions_config.php: Added the config variable + netflow_disable_custom_lvfilters. + 2013-02-04 Miguel de Dios * operation/events/events.php: fixed exotic bug with the var name diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 95900d56dd..7ae47bf55d 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -613,6 +613,10 @@ function config_process_config () { config_update_value('netflow_disable_custom_lvfilters', 100); } + if (!isset ($config['netflow_disable_custom_lvfilters'])) { + config_update_value ( 'netflow_disable_custom_lvfilters', 0); + } + if (!isset ($config['auth'])) { config_update_value ( 'auth', 'mysql'); }