aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-07 16:13:05 -0400
committerjim-p <jimp@pfsense.org>2014-05-07 16:13:05 -0400
commitad3fc2c1a0d5a809ff24e4e42c22824e87b6e462 (patch)
tree1d11acda835a8aa59d11eb874fe52fb0273ae220
parent12b81ade21dbc5408f474ad925b2ced3f1090939 (diff)
downloadpfsense-packages-ad3fc2c1a0d5a809ff24e4e42c22824e87b6e462.tar.gz
pfsense-packages-ad3fc2c1a0d5a809ff24e4e42c22824e87b6e462.tar.bz2
pfsense-packages-ad3fc2c1a0d5a809ff24e4e42c22824e87b6e462.zip
Fix call-time pass-by-reference in siproxd
-rw-r--r--config/siproxd.inc2
-rw-r--r--config/siproxd.xml4
-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, 6 insertions, 6 deletions
diff --git a/config/siproxd.inc b/config/siproxd.inc
index a34f5b34..7e72c868 100644
--- a/config/siproxd.inc
+++ b/config/siproxd.inc
@@ -270,7 +270,7 @@ function sync_package_siproxd() {
}
-function validate_form_siproxd($post, $input_errors) {
+function validate_form_siproxd($post, &$input_errors) {
if ($post['port'] && !is_port($post['port']))
$input_errors[] = 'Invalid port entered for "Listening Port"';
if ($post['rtplower'] && !is_port($post['rtplower']))
diff --git a/config/siproxd.xml b/config/siproxd.xml
index d989f964..27d00f32 100644
--- a/config/siproxd.xml
+++ b/config/siproxd.xml
@@ -37,7 +37,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>siproxdsettings</name>
- <version>0.5.13_pfs2</version>
+ <version>0.8.0_2 pkg v1.0.1</version>
<title>siproxd: Settings</title>
<include_file>/usr/local/pkg/siproxd.inc</include_file>
<aftersaveredirect>/pkg_edit.php?xml=siproxd.xml&amp;id=0</aftersaveredirect>
@@ -339,6 +339,6 @@
</custom_php_resync_config_command>
<filter_rules_needed>siproxd_generate_rules</filter_rules_needed>
<custom_php_validation_command>
- validate_form_siproxd($_POST, &amp;$input_errors);
+ validate_form_siproxd($_POST, $input_errors);
</custom_php_validation_command>
</packagegui>
diff --git a/pkg_config.10.xml b/pkg_config.10.xml
index 2f3e4199..8a7ee3aa 100644
--- a/pkg_config.10.xml
+++ b/pkg_config.10.xml
@@ -496,7 +496,7 @@
<build_pbi>
<port>net/siproxd</port>
</build_pbi>
- <version>0.8.0_2</version>
+ <version>0.8.0_2 pkg v1.0.1</version>
<status>Beta</status>
<required_version>2.2</required_version>
<configurationfile>siproxd.xml</configurationfile>
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index f7e57d74..e10572d7 100644
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -663,7 +663,7 @@
<depends_on_package_pbi>siproxd-0.8.0-i386.pbi</depends_on_package_pbi>
<pkginfolink>https://doc.pfsense.org/index.php/Siproxd_package</pkginfolink>
<build_port_path>/usr/ports/net/siproxd</build_port_path>
- <version>0.8.0_2</version>
+ <version>0.8.0_2 pkg v1.0.1</version>
<status>Beta</status>
<required_version>1.2.1</required_version>
<configurationfile>siproxd.xml</configurationfile>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index 1f1222ce..13510ac8 100644
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -650,7 +650,7 @@
<depends_on_package_pbi>siproxd-0.8.0-amd64.pbi</depends_on_package_pbi>
<pkginfolink>https://doc.pfsense.org/index.php/Siproxd_package</pkginfolink>
<build_port_path>/usr/ports/net/siproxd</build_port_path>
- <version>0.8.0_2</version>
+ <version>0.8.0_2 pkg v1.0.1</version>
<status>Beta</status>
<required_version>1.2.1</required_version>
<configurationfile>siproxd.xml</configurationfile>