mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not validate ip and subnet fields if we are bridging
This commit is contained in:
parent
752110812c
commit
b85311ed85
@ -77,8 +77,10 @@ if ($_POST) {
|
||||
$changedesc = "LAN Interface: ";
|
||||
|
||||
/* input validation */
|
||||
$reqdfields = explode(" ", "ipaddr subnet");
|
||||
$reqdfieldsn = explode(",", "IP address,Subnet bit count");
|
||||
if (!$_POST['bridge']) {
|
||||
$reqdfields = explode(" ", "ipaddr subnet");
|
||||
$reqdfieldsn = explode(",", "IP address,Subnet bit count");
|
||||
}
|
||||
|
||||
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user