aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-07 15:57:53 -0400
committerjim-p <jimp@pfsense.org>2014-05-07 15:57:53 -0400
commitd98b1375f0e8b02e1c5dec1d41dfa50ada883e60 (patch)
treec3f34a652506d338793059db69420f635d67c840
parent6bd40b5108db4bbade083cf9ccd63a7797896830 (diff)
downloadpfsense-packages-d98b1375f0e8b02e1c5dec1d41dfa50ada883e60.tar.gz
pfsense-packages-d98b1375f0e8b02e1c5dec1d41dfa50ada883e60.tar.bz2
pfsense-packages-d98b1375f0e8b02e1c5dec1d41dfa50ada883e60.zip
Fix call-time pass-by-reference in Softflowd, bump
-rw-r--r--config/softflowd/softflowd.xml6
-rw-r--r--pkg_config.10.xml2
-rw-r--r--pkg_config.8.xml2
-rw-r--r--pkg_config.8.xml.amd642
4 files changed, 6 insertions, 6 deletions
diff --git a/config/softflowd/softflowd.xml b/config/softflowd/softflowd.xml
index 149631b8..88e521a7 100644
--- a/config/softflowd/softflowd.xml
+++ b/config/softflowd/softflowd.xml
@@ -1,6 +1,6 @@
<packagegui>
<name>softflowd</name>
- <version>0.9.8</version>
+ <version>0.9.8 pkg v1.0.1</version>
<title>softflowd: Settings</title>
<aftersaveredirect>pkg_edit.php?xml=softflowd.xml&amp;id=0</aftersaveredirect>
<menu>
@@ -103,7 +103,7 @@
config_unlock();
}
- function validate_form_softflowd($post, $input_errors) {
+ function validate_form_softflowd($post, &$input_errors) {
if (($post['host'] == "") || !is_ipaddr($post['host']))
$input_errors[] = 'You must specify a valid ip address in the \'Host\' field';
if (($post['port'] == "") || !is_port($post['port']))
@@ -129,7 +129,7 @@
sync_package_softflowd();
</custom_php_resync_config_command>
<custom_php_validation_command>
- validate_form_softflowd($_POST, &amp;$input_errors);
+ validate_form_softflowd($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_command_before_form>
cleanup_config_softflowd();
diff --git a/pkg_config.10.xml b/pkg_config.10.xml
index 43065a49..597114a9 100644
--- a/pkg_config.10.xml
+++ b/pkg_config.10.xml
@@ -1520,7 +1520,7 @@
<category>Network Management</category>
<config_file>https://packages.pfsense.org/packages/config/softflowd/softflowd.xml</config_file>
<depends_on_package_pbi>softflowd-0.9.8_2-##ARCH##.pbi</depends_on_package_pbi>
- <version>0.9.8</version>
+ <version>0.9.8 pkg v1.0.1</version>
<status>Beta</status>
<required_version>2.2</required_version>
<configurationfile>softflowd.xml</configurationfile>
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index 4c42aa6d..6e0272df 100644
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -1967,7 +1967,7 @@
<config_file>https://packages.pfsense.org/packages/config/softflowd/softflowd.xml</config_file>
<depends_on_package_base_url>https://files.pfsense.org/packages/8/All/</depends_on_package_base_url>
<depends_on_package_pbi>softflowd-0.9.8_2-i386.pbi</depends_on_package_pbi>
- <version>0.9.8</version>
+ <version>0.9.8 pkg v1.0.1</version>
<status>Beta</status>
<required_version>2.1</required_version>
<configurationfile>softflowd.xml</configurationfile>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index 7871d065..fb921fad 100644
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -1954,7 +1954,7 @@
<config_file>https://packages.pfsense.org/packages/config/softflowd/softflowd.xml</config_file>
<depends_on_package_base_url>https://files.pfsense.org/packages/amd64/8/All/</depends_on_package_base_url>
<depends_on_package_pbi>softflowd-0.9.8_2-amd64.pbi</depends_on_package_pbi>
- <version>0.9.8</version>
+ <version>0.9.8 pkg v1.0.1</version>
<status>Beta</status>
<required_version>2.1</required_version>
<configurationfile>softflowd.xml</configurationfile>