mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not allow gateways to be selected without a direction.
This commit is contained in:
parent
65f7fba8fc
commit
37d202a3bd
@ -364,6 +364,8 @@ if ($_POST) {
|
||||
}
|
||||
if (isset($_POST['floating']) && $_POST['pdnpipe'] != "none" && (empty($_POST['direction']) || $_POST['direction'] == "any"))
|
||||
$input_errors[] = gettext("You can not use limiters in Floating rules without choosing a direction.");
|
||||
if (isset($_POST['floating']) && $_POST['gateway'] != "default" && (empty($_POST['direction']) || $_POST['direction'] == "any"))
|
||||
$input_errors[] = gettext("You can not use gateways in Floating rules without choosing a direction.");
|
||||
if ($_POST['pdnpipe'] && $_POST['pdnpipe'] != "none") {
|
||||
if ($_POST['dnpipe'] == "none" )
|
||||
$input_errors[] = gettext("You must select a queue for the In direction before selecting one for Out too.");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user