aboutsummaryrefslogtreecommitdiffstats
path: root/config/pfflowd.xml
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 /config/pfflowd.xml
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
Diffstat (limited to 'config/pfflowd.xml')
-rw-r--r--config/pfflowd.xml6
1 files changed, 3 insertions, 3 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();