aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-07 16:02:02 -0400
committerjim-p <jimp@pfsense.org>2014-05-07 16:02:02 -0400
commitf7c97753f5d61f2e6318163da1bd289ca1d50489 (patch)
tree82599b470df229288afe6b952e15cf83aa361b95
parent6aa8d099010073b206422486a7252a921db1c520 (diff)
downloadpfsense-packages-f7c97753f5d61f2e6318163da1bd289ca1d50489.tar.gz
pfsense-packages-f7c97753f5d61f2e6318163da1bd289ca1d50489.tar.bz2
pfsense-packages-f7c97753f5d61f2e6318163da1bd289ca1d50489.zip
Fix call-time pass-by-reference in gwled, bump.
-rw-r--r--config/gwled/gwled.inc2
-rw-r--r--config/gwled/gwled.xml2
-rw-r--r--pkg_config.10.xml2
-rw-r--r--pkg_config.8.xml2
-rw-r--r--pkg_config.8.xml.amd642
5 files changed, 5 insertions, 5 deletions
diff --git a/config/gwled/gwled.inc b/config/gwled/gwled.inc
index 7bb25147..dad6fe69 100644
--- a/config/gwled/gwled.inc
+++ b/config/gwled/gwled.inc
@@ -36,7 +36,7 @@ function gwled_stop() {
exec("/bin/pkill -9 -f gwled");
}
-function validate_form_gwled($post, $input_errors) {
+function validate_form_gwled($post, &$input_errors) {
/* Make sure both aren't using the same interface */
if (($post['gw_led2']) && ($post['gw_led3']) &&
(($post['enable_led2']) && ($post['enable_led3'])) &&
diff --git a/config/gwled/gwled.xml b/config/gwled/gwled.xml
index 4237454b..015ab3bb 100644
--- a/config/gwled/gwled.xml
+++ b/config/gwled/gwled.xml
@@ -66,7 +66,7 @@
</field>
</fields>
<custom_php_validation_command>
- validate_form_gwled($_POST, &amp;$input_errors);
+ validate_form_gwled($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
sync_package_gwled();
diff --git a/pkg_config.10.xml b/pkg_config.10.xml
index c0167657..eba6abc0 100644
--- a/pkg_config.10.xml
+++ b/pkg_config.10.xml
@@ -1168,7 +1168,7 @@
<name>gwled</name>
<descr>Allows you to use LEDs for gateway status on supported platforms (ALIX, WRAP, Soekris, etc)</descr>
<category>System</category>
- <version>0.2</version>
+ <version>0.2.1</version>
<status>Beta</status>
<maintainer>jimp@pfsense.org</maintainer>
<required_version>2.2</required_version>
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index 7817fa3b..181f61ea 100644
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -1528,7 +1528,7 @@
<name>gwled</name>
<descr>Allows you to use LEDs for gateway status on supported platforms (ALIX, WRAP, Soekris, etc)</descr>
<category>System</category>
- <version>0.2</version>
+ <version>0.2.1</version>
<status>Beta</status>
<maintainer>jimp@pfsense.org</maintainer>
<required_version>2.0</required_version>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index 2f2f04ec..db58d8f9 100644
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -1515,7 +1515,7 @@
<name>gwled</name>
<descr>Allows you to use LEDs for gateway status on supported platforms (ALIX, WRAP, Soekris, etc)</descr>
<category>System</category>
- <version>0.2</version>
+ <version>0.2.1</version>
<status>Beta</status>
<maintainer>jimp@pfsense.org</maintainer>
<required_version>2.0</required_version>