aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-07 15:59:50 -0400
committerjim-p <jimp@pfsense.org>2014-05-07 15:59:50 -0400
commit6aa8d099010073b206422486a7252a921db1c520 (patch)
treee34cf194229103308f8a0eca8d86fb46d94150d0
parentd98b1375f0e8b02e1c5dec1d41dfa50ada883e60 (diff)
downloadpfsense-packages-6aa8d099010073b206422486a7252a921db1c520.tar.gz
pfsense-packages-6aa8d099010073b206422486a7252a921db1c520.tar.bz2
pfsense-packages-6aa8d099010073b206422486a7252a921db1c520.zip
Fix call-time pass-by-reference in pfflowd, bump
-rw-r--r--config/pfflowd.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/pfflowd.xml b/config/pfflowd.xml
index f8552189..2470e2b2 100644
--- a/config/pfflowd.xml
+++ b/config/pfflowd.xml
@@ -1,6 +1,6 @@
<packagegui>
<name>pfflowd</name>
- <version>0.8</version>
+ <version>0.8.3 pkg v1.0.1</version>
<title>pfflowd: Settings</title>
<aftersaveredirect>pkg_edit.php?xml=pfflowd.xml&amp;id=0</aftersaveredirect>
<menu>
@@ -109,7 +109,7 @@
config_unlock();
}
- function validate_form_pfflowd($post, $input_errors) {
+ function validate_form_pfflowd($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']))
@@ -135,7 +135,7 @@
sync_package_pfflowd();
</custom_php_resync_config_command>
<custom_php_validation_command>
- validate_form_pfflowd($_POST, &amp;$input_errors);
+ validate_form_pfflowd($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_command_before_form>
cleanup_config_pfflowd();
diff --git a/pkg_config.10.xml b/pkg_config.10.xml
index 597114a9..c0167657 100644
--- a/pkg_config.10.xml
+++ b/pkg_config.10.xml
@@ -779,7 +779,7 @@
<category>Network Management</category>
<config_file>https://packages.pfsense.org/packages/config/pfflowd.xml</config_file>
<depends_on_package_pbi>pfflowd-0.8-##ARCH##.pbi</depends_on_package_pbi>
- <version>0.8.3</version>
+ <version>0.8.3 pkg v1.0.1</version>
<status>Stable</status>
<required_version>2.2</required_version>
<configurationfile>pfflowd.xml</configurationfile>
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index 6e0272df..7817fa3b 100644
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -1034,7 +1034,7 @@
<depends_on_package_base_url>https://files.pfsense.org/packages/8/All/</depends_on_package_base_url>
<depends_on_package>pfflowd-0.8.tbz</depends_on_package>
<depends_on_package_pbi>pfflowd-0.8-i386.pbi</depends_on_package_pbi>
- <version>0.8.3</version>
+ <version>0.8.3 pkg v1.0.1</version>
<status>Stable</status>
<required_version>2.0</required_version>
<configurationfile>pfflowd.xml</configurationfile>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index fb921fad..2f2f04ec 100644
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -1021,7 +1021,7 @@
<depends_on_package_base_url>https://files.pfsense.org/packages/amd64/8/All/</depends_on_package_base_url>
<depends_on_package>pfflowd-0.8.tbz</depends_on_package>
<depends_on_package_pbi>pfflowd-0.8-amd64.pbi</depends_on_package_pbi>
- <version>0.8.3</version>
+ <version>0.8.3 pkg v1.0.1</version>
<status>Stable</status>
<required_version>2.0</required_version>
<configurationfile>pfflowd.xml</configurationfile>