summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-12-09 13:03:11 -0500
committerjim-p <jimp@pfsense.org>2016-12-09 13:03:11 -0500
commit530eceb9bc302fba114e7982e4e8ccbebdf715f0 (patch)
tree7c5a3d4dc281a480aab9d2d0fc776ba711de07a8 /src
parent898aa92c90eba11f13a474fb89e082415f836b45 (diff)
downloadpfsense-530eceb9bc302fba114e7982e4e8ccbebdf715f0.zip
pfsense-530eceb9bc302fba114e7982e4e8ccbebdf715f0.tar.gz
Fix copy/paste error in variable test.
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 1a7d40a..ac90126 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -463,7 +463,7 @@ if ($_POST) {
}
}
if ($_POST['srcbeginport_cust'] && $_POST['srcendport_cust']) {
- if (is_alias($_POST['srcendport_cust']) && is_alias($_POST['srcendport_cust']) && $_POST['srcbeginport_cust'] != $_POST['srcendport_cust']) {
+ if (is_alias($_POST['srcbeginport_cust']) && is_alias($_POST['srcendport_cust']) && $_POST['srcbeginport_cust'] != $_POST['srcendport_cust']) {
$input_errors[] = 'The same port alias must be used in Source port range from: and to: fields';
}
if ((is_alias($_POST['srcbeginport_cust']) && (!is_alias($_POST['srcendport_cust']) && $_POST['srcendport_cust'] != '')) ||
@@ -477,7 +477,7 @@ if ($_POST) {
}
}
if ($_POST['dstbeginport_cust'] && $_POST['dstendport_cust']) {
- if (is_alias($_POST['dstendport_cust']) && is_alias($_POST['dstendport_cust']) && $_POST['dstbeginport_cust'] != $_POST['dstendport_cust']) {
+ if (is_alias($_POST['dstbeginport_cust']) && is_alias($_POST['dstendport_cust']) && $_POST['dstbeginport_cust'] != $_POST['dstendport_cust']) {
$input_errors[] = 'The same port alias must be used in Destination port range from: and to: fields';
}
if ((is_alias($_POST['dstbeginport_cust']) && (!is_alias($_POST['dstendport_cust']) && $_POST['dstendport_cust'] != '')) ||
OpenPOWER on IntegriCloud