diff options
author | jim-p <jimp@pfsense.org> | 2015-03-09 10:35:26 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-03-09 10:35:26 -0400 |
commit | 36dbc14aaaeac08051e22dbc8c2f4ef330adb054 (patch) | |
tree | c9941a4a85c257a7054cc05e5c3658f7fd36b29d /usr/local/www | |
parent | bf4ea211ddf3873a1ecdac07793471081b409f29 (diff) | |
download | pfsense-36dbc14aaaeac08051e22dbc8c2f4ef330adb054.zip pfsense-36dbc14aaaeac08051e22dbc8c2f4ef330adb054.tar.gz |
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.
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/interfaces.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index cdb9028..764c962 100644 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -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")); |