diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-05 20:18:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-05 20:18:26 +0000 |
commit | aba8aacef1a6c1525d25687d45e95c98f46b1a73 (patch) | |
tree | 564ce23c952b25e071f4e02f9e303bff3af7d404 /usr | |
parent | a6308b24e81600eb5236959290942bd2953948c8 (diff) | |
download | pfsense-aba8aacef1a6c1525d25687d45e95c98f46b1a73.zip pfsense-aba8aacef1a6c1525d25687d45e95c98f46b1a73.tar.gz |
On input validation note that the source or destionation ports can now be aliases.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 0a62727..a9848a2 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -250,16 +250,16 @@ if ($_POST) { } if (($_POST['srcbeginport'] && !alias_expand($_POST['srcbeginport']) && !is_port($_POST['srcbeginport']))) { - $input_errors[] = "The start source port must be an integer between 1 and 65535."; + $input_errors[] = "The start source port must be an alias or integer between 1 and 65535."; } if (($_POST['srcendport'] && !alias_expand($_POST['srcendport']) && !is_port($_POST['srcendport']))) { - $input_errors[] = "The end source port must be an integer between 1 and 65535."; + $input_errors[] = "The end source port must be an alias or integer between 1 and 65535."; } if (($_POST['dstbeginport'] && !alias_expand($_POST['dstbeginport']) && !is_port($_POST['dstbeginport']))) { - $input_errors[] = "The start destination port must be an integer between 1 and 65535."; + $input_errors[] = "The start destination port must be an alias or integer between 1 and 65535."; } if (($_POST['dstendport'] && !alias_expand($_POST['dstbeginport']) && !is_port($_POST['dstendport']))) { - $input_errors[] = "The end destination port must be an integer between 1 and 65535."; + $input_errors[] = "The end destination port must be an alias or integer between 1 and 65535."; } if (!is_specialnet($_POST['srctype'])) { |