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