aboutsummaryrefslogtreecommitdiffstats
path: root/config/syslog-ng
diff options
context:
space:
mode:
Diffstat (limited to 'config/syslog-ng')
-rw-r--r--config/syslog-ng/syslog-ng.inc6
-rw-r--r--config/syslog-ng/syslog-ng.xml4
-rw-r--r--config/syslog-ng/syslog-ng_advanced.xml2
3 files changed, 6 insertions, 6 deletions
diff --git a/config/syslog-ng/syslog-ng.inc b/config/syslog-ng/syslog-ng.inc
index f821e75d..e373f62e 100644
--- a/config/syslog-ng/syslog-ng.inc
+++ b/config/syslog-ng/syslog-ng.inc
@@ -61,7 +61,7 @@ function syslogng_deinstall_command() {
filter_configure();
}
-function syslogng_validate_general($post, $input_errors) {
+function syslogng_validate_general($post, &$input_errors) {
global $config;
$objects = $config['installedpackages']['syslogngadvanced']['config'];
@@ -100,7 +100,7 @@ function syslogng_validate_general($post, $input_errors) {
$input_errors[] = "Syslog-ng syntax test failed:\n" . $errors;
}
-function syslogng_validate_advanced($post, $input_errors) {
+function syslogng_validate_advanced($post, &$input_errors) {
global $config;
$objects = $config['installedpackages']['syslogngadvanced']['config'];
@@ -249,7 +249,7 @@ function syslogng_get_log_files($objects) {
function syslogng_build_conf($objects) {
$conf = "# This file is automatically generated by pfSense\n";
$conf .= "# Do not edit manually !\n";
- $conf .= "@version:3.3\n";
+ $conf .= "@version:3.5\n";
foreach($objects as $object) {
if($object['objecttype'] == 'log' || $object['objecttype'] == 'options') {
diff --git a/config/syslog-ng/syslog-ng.xml b/config/syslog-ng/syslog-ng.xml
index 37df86ec..7d58a2ef 100644
--- a/config/syslog-ng/syslog-ng.xml
+++ b/config/syslog-ng/syslog-ng.xml
@@ -42,7 +42,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>Syslog-ng</name>
- <version>3.3.4_1</version>
+ <version>3.5.4.1_1 pkg.v.1.0.1</version>
<title>Services: Syslog-ng</title>
<include_file>/usr/local/pkg/syslog-ng.inc</include_file>
<menu>
@@ -177,7 +177,7 @@
</field>
</fields>
<custom_php_validation_command>
- syslogng_validate_general($_POST, &amp;$input_errors);
+ syslogng_validate_general($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
syslogng_resync();
diff --git a/config/syslog-ng/syslog-ng_advanced.xml b/config/syslog-ng/syslog-ng_advanced.xml
index 2ddcf1e0..b1290544 100644
--- a/config/syslog-ng/syslog-ng_advanced.xml
+++ b/config/syslog-ng/syslog-ng_advanced.xml
@@ -128,7 +128,7 @@
syslogng_resync();
</custom_delete_php_command>
<custom_php_validation_command>
- syslogng_validate_advanced($_POST, &amp;$input_errors);
+ syslogng_validate_advanced($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
syslogng_resync();