mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Allow reassignment from PPP types to DHCP. From testing, it appears to work OK, this input validation appears to be outdated.
If there is some edge case that this catches, perhaps it needs to be a more specific test.
This commit is contained in:
parent
bf4ea211dd
commit
36dbc14aaa
@ -523,10 +523,6 @@ if ($_POST['apply']) {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "dhcp":
|
||||
if (in_array($wancfg['ipaddr'], array("ppp", "pppoe", "pptp", "l2tp")))
|
||||
$input_errors[] = sprintf(gettext("You have to reassign the interface to be able to configure as %s."),$_POST['type']);
|
||||
break;
|
||||
case "ppp":
|
||||
$reqdfields = explode(" ", "port phone");
|
||||
$reqdfieldsn = array(gettext("Modem Port"),gettext("Phone Number"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user