aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-04-29 15:05:29 -0400
committerjim-p <jimp@pfsense.org>2014-04-29 15:05:29 -0400
commit875aa3100103970ca0d802955742260a40c49dba (patch)
treeb2265e86371c179ca8ded82fa2fb99f057f58a87 /config
parent1641fd6dd0133119529be2b1ac57fcc605a0a976 (diff)
downloadpfsense-packages-875aa3100103970ca0d802955742260a40c49dba.tar.gz
pfsense-packages-875aa3100103970ca0d802955742260a40c49dba.tar.bz2
pfsense-packages-875aa3100103970ca0d802955742260a40c49dba.zip
Fix a pass-by-reference error in nmap, bump.
Diffstat (limited to 'config')
-rw-r--r--config/nmap/nmap.inc2
-rw-r--r--config/nmap/nmap.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/config/nmap/nmap.inc b/config/nmap/nmap.inc
index 18708159..272f27ef 100644
--- a/config/nmap/nmap.inc
+++ b/config/nmap/nmap.inc
@@ -28,7 +28,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-function nmap_custom_php_validation_command($post, $input_errors) {
+function nmap_custom_php_validation_command($post, & $input_errors) {
global $_POST, $savemsg, $config;
if (empty($_POST['hostname'])) {
$input_errors[] = gettext("You must enter an IP address to scan.");
diff --git a/config/nmap/nmap.xml b/config/nmap/nmap.xml
index 4034222a..b07b3982 100644
--- a/config/nmap/nmap.xml
+++ b/config/nmap/nmap.xml
@@ -46,7 +46,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>nmap</name>
- <version>6.01</version>
+ <version>6.40_2 pkg v1.2.1</version>
<title>Diagnostics: NMap</title>
<savetext>Scan</savetext>
<preoutput>yes</preoutput>
@@ -120,6 +120,6 @@
nmap_custom_add_php_command();
</custom_add_php_command>
<custom_php_validation_command>
- nmap_custom_php_validation_command($_POST, &amp;$input_errors);
+ nmap_custom_php_validation_command($_POST, $input_errors);
</custom_php_validation_command>
</packagegui>