mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix copy/paste error in variable test.
This commit is contained in:
parent
898aa92c90
commit
530eceb9bc
@ -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'] != '')) ||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user