aboutsummaryrefslogtreecommitdiffstats
path: root/config/gwled
diff options
context:
space:
mode:
Diffstat (limited to 'config/gwled')
-rw-r--r--config/gwled/gwled.inc2
-rw-r--r--config/gwled/gwled.xml6
2 files changed, 4 insertions, 4 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 35df41ee..015ab3bb 100644
--- a/config/gwled/gwled.xml
+++ b/config/gwled/gwled.xml
@@ -12,14 +12,14 @@
<url>/pkg_edit.php?xml=gwled.xml&amp;id=0</url>
</menu>
<additional_files_needed>
- <item>http://www.pfsense.org/packages/config/gwled/gwled.inc</item>
+ <item>https://packages.pfsense.org/packages/config/gwled/gwled.inc</item>
<prefix>/usr/local/pkg/</prefix>
<chmod>0644</chmod>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/bin/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/gwled/gwled.php</item>
+ <item>https://packages.pfsense.org/packages/config/gwled/gwled.php</item>
</additional_files_needed>
<service>
<name>gwled</name>
@@ -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();