summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_testport.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/diag_testport.php')
-rw-r--r--usr/local/www/diag_testport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_testport.php b/usr/local/www/diag_testport.php
index c8aa6a3..67d4d9e 100644
--- a/usr/local/www/diag_testport.php
+++ b/usr/local/www/diag_testport.php
@@ -58,7 +58,7 @@ if ($_POST || $_REQUEST['host']) {
/* input validation */
$reqdfields = explode(" ", "host port");
$reqdfieldsn = array(gettext("Host"),gettext("Port"));
- do_input_validation($_REQUEST, $reqdfields, $reqdfieldsn, &$input_errors);
+ do_input_validation($_REQUEST, $reqdfields, $reqdfieldsn, $input_errors);
if (!is_ipaddr($_REQUEST['host']) && !is_hostname($_REQUEST['host'])) {
$input_errors[] = gettext("Please enter a valid IP or hostname.");
OpenPOWER on IntegriCloud